Object

RemoteAbsoluteAlignment

A collection of common RemoteAlignments unaware of the layout direction.

Source set: Android
public object RemoteAbsoluteAlignment

A collection of common RemoteAlignments unaware of the layout direction.

Properties

TopLeft

Source set: Android
public val TopLeft: RemoteAlignment =
        RemoteBiasAbsoluteAlignment(ColumnLayout.START, ColumnLayout.TOP)

The child is positioned at the top-left corner of the parent.

TopRight

Source set: Android
public val TopRight: RemoteAlignment =
        RemoteBiasAbsoluteAlignment(ColumnLayout.END, ColumnLayout.TOP)

The child is positioned at the top-right corner of the parent.

CenterLeft

Source set: Android
public val CenterLeft: RemoteAlignment =
        RemoteBiasAbsoluteAlignment(ColumnLayout.START, ColumnLayout.CENTER)

The child is positioned at the center-left edge of the parent.

CenterRight

Source set: Android
public val CenterRight: RemoteAlignment =
        RemoteBiasAbsoluteAlignment(ColumnLayout.END, ColumnLayout.CENTER)

The child is positioned at the center-right edge of the parent.

BottomLeft

Source set: Android
public val BottomLeft: RemoteAlignment =
        RemoteBiasAbsoluteAlignment(ColumnLayout.START, ColumnLayout.BOTTOM)

The child is positioned at the bottom-left corner of the parent.

BottomRight

Source set: Android
public val BottomRight: RemoteAlignment =
        RemoteBiasAbsoluteAlignment(ColumnLayout.END, ColumnLayout.BOTTOM)

The child is positioned at the bottom-right corner of the parent.

Left

Source set: Android
public val Left: RemoteAlignment.Horizontal =
        RemoteBiasAbsoluteAlignment.Horizontal(ColumnLayout.START)

The child is positioned at the left edge of the parent.

Source set: Android
public val Right: RemoteAlignment.Horizontal =
        RemoteBiasAbsoluteAlignment.Horizontal(ColumnLayout.END)

The child is positioned at the right edge of the parent.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: