CrossAxisAlignment

class CrossAxisAlignment
kotlin.Any
   ↳ androidx.ui.layout.CrossAxisAlignment

Used to specify the alignment of a layout's children, in cross axis direction.

Summary

Companion functions

CrossAxisAlignment
AlignmentLine(alignmentLine: AlignmentLine)

Align children by their baseline.

Companion properties

CrossAxisAlignment

Place children such that their center is in the middle of the cross axis.

CrossAxisAlignment

Place children such that their end edge is aligned to the end edge of the cross axis.

CrossAxisAlignment

Place children such that their start edge is aligned to the start edge of the cross axis.

CrossAxisAlignment

Force children to occupy the entire cross axis space.

Companion functions

AlignmentLine

fun AlignmentLine(alignmentLine: AlignmentLine): CrossAxisAlignment

Align children by their baseline.

Companion properties

Center

val Center: CrossAxisAlignment

Place children such that their center is in the middle of the cross axis.

End

val End: CrossAxisAlignment

Place children such that their end edge is aligned to the end edge of the cross axis. TODO(popam): Consider rtl directionality.

Start

val Start: CrossAxisAlignment

Place children such that their start edge is aligned to the start edge of the cross axis. TODO(popam): Consider rtl directionality.

Stretch

val Stretch: CrossAxisAlignment

Force children to occupy the entire cross axis space.