Compose Foundation Layout API Reference
Installation
implementation("androidx.compose.foundation:foundation-layout:1.9.0-beta02")
Composable Functions
- Box
- BoxWithConstraints
- Column
- ContextualFlowColumn
- ContextualFlowRow
- FlowColumn
- FlowRow
- Row
- Spacer
- asPaddingValues
Modifiers
- absoluteOffset
- absolutePadding
- aspectRatio
- captionBarPadding
- consumeWindowInsets
- defaultMinSize
- displayCutoutPadding
- fillMaxHeight
- fillMaxSize
- fillMaxWidth
- fitInside
- fitOutside
- height
- heightIn
- imeNestedScroll
- imePadding
- mandatorySystemGesturesPadding
- navigationBarsPadding
- offset
- onConsumedWindowInsetsChanged
- padding
- paddingFrom
- paddingFromBaseline
- recalculateWindowInsets
- requiredHeight
- requiredHeightIn
- requiredSize
- requiredSizeIn
- requiredWidth
- requiredWidthIn
- safeContentPadding
- safeDrawingPadding
- safeGesturesPadding
- size
- sizeIn
- statusBarsPadding
- systemBarsPadding
- systemGesturesPadding
- waterfallPadding
- width
- widthIn
- windowInsetsBottomHeight
- windowInsetsEndWidth
- windowInsetsPadding
- windowInsetsStartWidth
- windowInsetsTopHeight
- wrapContentHeight
- wrapContentSize
- wrapContentWidth
Classes
- ContextualFlowColumnOverflow
- ContextualFlowRowOverflow
- ExperimentalLayoutApi
- FlowColumnOverflow
- FlowLayoutOverflow
- FlowRowOverflow
- IntrinsicSize
- LayoutScopeMarker
- MutableWindowInsets
- WindowInsetsSides
Interfaces
- BoxScope
- BoxWithConstraintsScope
- ColumnScope
- ContextualFlowColumnOverflowScope
- ContextualFlowColumnScope
- ContextualFlowRowOverflowScope
- ContextualFlowRowScope
- FlowColumnOverflowScope
- FlowColumnScope
- FlowRowOverflowScope
- FlowRowScope
- PaddingValues
- RowScope
- WindowInsets
Properties
- areNavigationBarsVisible
- areStatusBarsVisible
- areSystemBarsVisible
- captionBar
- captionBarIgnoringVisibility
- consumeWindowInsets
- displayCutout
- ime
- imeAnimationSource
- imeAnimationTarget
- isCaptionBarVisible
- isImeVisible
- isTappableElementVisible
- mandatorySystemGestures
- navigationBars
- navigationBarsIgnoringVisibility
- safeContent
- safeDrawing
- safeGestures
- statusBars
- statusBarsIgnoringVisibility
- systemBars
- systemBarsIgnoringVisibility
- systemGestures
- tappableElement
- tappableElementIgnoringVisibility
- waterfall