Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.

androidx.compose.foundation.layout

Interfaces

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.

PaddingValues

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

RowScope

Scope for the children of Row.

Annotations

ExperimentalLayoutApi

LayoutScopeMarker

Enums

IntrinsicSize

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

Top-level functions summary

Unit
Box(modifier: Modifier = Modifier, contentAlignment: Alignment = Alignment.TopStart, propagateMinConstraints: Boolean = false, content: BoxScope.() -> Unit)

A layout composable with content.

Unit
Box(modifier: Modifier)

A box with no content that can participate in layout, drawing, pointer input due to the modifier applied to it.

Unit
BoxWithConstraints(modifier: Modifier = Modifier, contentAlignment: Alignment = Alignment.TopStart, propagateMinConstraints: Boolean = false, content: BoxWithConstraintsScope.() -> Unit)

A composable that defines its own content according to the available space, based on the incoming constraints or the current LayoutDirection.

Unit
Column(modifier: Modifier = Modifier, verticalArrangement: Arrangement.Vertical = Arrangement.Top, horizontalAlignment: Alignment.Horizontal = Alignment.Start, content: ColumnScope.() -> Unit)

A layout composable that places its children in a vertical sequence.

PaddingValues

Creates a padding of all dp along all 4 edges.

PaddingValues
PaddingValues(horizontal: Dp, vertical: Dp)

Creates a padding of horizontal dp along the left and right edges, and of vertical dp along the top and bottom edges.

PaddingValues
PaddingValues(start: Dp = 0.dp, top: Dp = 0.dp, end: Dp = 0.dp, bottom: Dp = 0.dp)

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

Unit
Row(modifier: Modifier = Modifier, horizontalArrangement: Arrangement.Horizontal = Arrangement.Start, verticalAlignment: Alignment.Vertical = Alignment.Top, content: RowScope.() -> Unit)

A layout composable that places its children in a horizontal sequence.

Unit
Spacer(modifier: Modifier)

Component that represents an empty space layout, whose size can be defined using Modifier.width, Modifier.height and Modifier.size modifiers.

Extension functions summary