Source set: Android
public class Radial internal constructor(internal val ratio: Float)
How to lay down components when they are thinner than the container. This is analogue of Alignment.Vertical in a Row.
Members
Companion
Source set: Android
public companion object
Properties
Inner
Source set: Android
public val Inner: Radial = Radial(1f)
Put the child closest to the center of the container, within the available space
Center
Source set: Android
public val Center: Radial = Radial(0.5f)
Put the child in the middle point of the available space.
Outer
Source set: Android
public val Outer: Radial = Radial(0f)
Put the child farthest from the center of the container, within the available space
Functions
Custom
Source set: Android
public fun Custom(ratio: Float): Radial
Align the child in a custom position, 0 means Outer, 1 means Inner