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
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.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: