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.

Summary

Public properties

open Dp

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

Cmn

Inherited functions

From androidx.compose.foundation.layout.Arrangement.Horizontal
Unit
Density.arrange(
    totalSize: Int,
    sizes: IntArray,
    layoutDirection: LayoutDirection,
    outPositions: IntArray
)

Horizontally places the layout children.

Cmn
From androidx.compose.foundation.layout.Arrangement.Vertical
Unit
Density.arrange(totalSize: Int, sizes: IntArray, outPositions: IntArray)

Vertically places the layout children.

Cmn

Public properties

spacing

open val spacingDp

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