Join us for ⁠#Android11: The Beta Launch Show on June 3!

End

object End : Arrangement.Horizontal
kotlin.Any
   ↳ androidx.ui.layout.Arrangement.End

Place children horizontally such that they are as close as possible to the end of the main axis.

Summary

Public methods

List<IntPx>
arrange(totalSize: IntPx, size: List<IntPx>, layoutDirection: LayoutDirection)

Places the layout children inside the parent layout along the main axis.

Public methods

arrange

fun arrange(
    totalSize: IntPx,
    size: List<IntPx>,
    layoutDirection: LayoutDirection
): List<IntPx>

Places the layout children inside the parent layout along the main axis.

Parameters
totalSize: IntPx Available space that can be occupied by the children.
size: List<IntPx> A list of sizes of all children.
layoutDirection: LayoutDirection A layout direction, left-to-right or right-to-left, of the parent layout that should be taken into account when determining positions of the children in horizontal direction.