Alignment
Class
Android
class Alignment(val horizontal: Horizontal, val vertical: Vertical)
A class used to specify the position of a sized box inside an available space. This is often used to specify how a parent layout should place its children.
Companion Object
Properties
Android
val TopStart: Alignment
Android
val TopCenter: Alignment
Android
val TopEnd: Alignment
Android
val CenterStart: Alignment
Android
val Center: Alignment
Android
val CenterEnd: Alignment
Android
val BottomStart: Alignment
Android
val BottomCenter: Alignment
Android
val BottomEnd: Alignment
Android
val Top: Vertical
Android
val CenterVertically: Vertical
Android
val Bottom: Vertical
Android
val Start: Horizontal
Android
val CenterHorizontally: Horizontal
Android
val End: Horizontal