Source set: Android
public class Angular internal constructor(internal val ratio: Float)
How to lay down components when they have a smaller sweep than their container. This is analogue of Alignment.Horizontal in a Column.
Members
Companion
Source set: Android
public companion object
Properties
Start
Source set: Android
public val Start: Angular = Angular(0f)
Put the child at the angular start of the layout of the container, within the available space
Center
Source set: Android
public val Center: Angular = Angular(0.5f)
Put the child in the middle point of the available space.
End
Source set: Android
public val End: Angular = Angular(1f)
Put the child at the angular end of the layout of the container, within the available space
Functions
Custom
Source set: Android
public fun Custom(ratio: Float): Angular
Align the child in a custom position, 0 means Start, 1 means End