Compose Unstyled 2.0 is out! Check the official announcement blog ->
Interface

SpatialArrangement.AxisIndependent

Used to specify the horizontal arrangement of the layout's children in horizontal layouts like androidx.xr.compose.subspace.SpatialRow, or the vertical arrangement of the layout's children in vertical layouts like androidx.xr.compose.subspace.SpatialColumn.

Source set: Android
@JvmDefaultWithCompatibility
public interface AxisIndependent : Horizontal, Vertical

Used to specify the horizontal arrangement of the layout's children in horizontal layouts like androidx.xr.compose.subspace.SpatialRow, or the vertical arrangement of the layout's children in vertical layouts like androidx.xr.compose.subspace.SpatialColumn.

Properties

spacing

Source set: Android
override val spacing: Dp

Spacing that should be added between any two adjacent layout children.

Last updated: