{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

androidx.compose.foundation.layout

Annotations

ExperimentalLayoutApi
LayoutScopeMarker

Interfaces

Arrangement.Horizontal

Used to specify the horizontal arrangement of the layout's children in layouts like Row.

Arrangement.HorizontalOrVertical

Used to specify the horizontal arrangement of the layout's children in horizontal layouts like Row, or the vertical arrangement of the layout's children in vertical layouts like Column.

Arrangement.Vertical

Used to specify the vertical arrangement of the layout's children in layouts like Column.

BoxScope

A BoxScope provides a scope for the children of Box and BoxWithConstraints.

BoxWithConstraintsScope

Receiver scope being used by the children parameter of BoxWithConstraints

ColumnScope

Scope for the children of Column.

FlowColumnScope

Scope for the children of FlowColumn.

FlowRowScope

Scope for the children of FlowRow.

PaddingValues

Describes a padding to be applied along the edges inside a box.

RowScope

Scope for the children of Row.

WindowInsets

A representation of window insets that tracks access to enable recomposition, relayout, and redrawing when values change.

Classes

AlignmentLineKt
AspectRatioKt
BoxKt
BoxWithConstraintsKt
ColumnKt
FlowLayoutKt
IntrinsicKt
MutableWindowInsets

A WindowInsets whose values can change without changing the instance.

OffsetKt
PaddingKt
PaddingValues.Absolute

Describes an absolute (RTL unaware) padding to be applied along the edges inside a box.

RowKt
SizeKt
SpacerKt
WindowInsetsConnectionKt
WindowInsetsKt
WindowInsetsPaddingKt
WindowInsetsSides

WindowInsetsSides is used in WindowInsets.only to define which sides of the WindowInsets should apply.

WindowInsetsSizeKt
Arrangement

Used to specify the arrangement of the layout's children in layouts like Row or Column in the main axis direction (horizontal and vertical, respectively).

Arrangement.Absolute
WindowInsets.Companion
WindowInsetsSides.Companion

Enums

IntrinsicSize

Intrinsic size used in width or height which can refer to width or height.