<div class='sourceset sourceset-android'>Android</div>

```kotlin
public object Absolute
```

Used to specify arrangement which doesn't change with layout direction.

## Functions

<h2 id="spacedby-space-spatialalignment">spacedBy</h2>

```kotlin
public fun spacedBy(space: Dp, spatialAlignment: SpatialAlignment.Horizontal): Horizontal
```

Children are placed next to each other with fixed `space` between them horizontally and
align them according to the [spatialAlignment](/jetpack-compose/androidx.xr.compose/compose/interfaces/SpatialAlignment) given. Unlike
[SpatialArrangement.spacedBy](/jetpack-compose/androidx.xr.compose/compose/objects/SpatialArrangement), when layout direction is RTL, children will not be
mirrored.

<hr class="docs-overload-divider">

<h2 id="aligned-spatialalignment">aligned</h2>

```kotlin
public fun aligned(spatialAlignment: SpatialAlignment.Horizontal): Horizontal
```

Children placed next to each other horizontally and align them according to the
[spatialAlignment](/jetpack-compose/androidx.xr.compose/compose/interfaces/SpatialAlignment) given. Unlike [SpatialArrangement.spacedBy](/jetpack-compose/androidx.xr.compose/compose/objects/SpatialArrangement), when layout direction is
RTL, children will not be mirrored.