interface RemoteAlignment


A remote equivalent of androidx.compose.ui.Alignment. It is used to define how a layout's children should be positioned.

Pre-defined alignment objects are available through the companion object:

Summary

Nested types

A remote equivalent of androidx.compose.ui.Alignment.Horizontal.

sealed interface RemoteAlignment.Vertical

An alignment that defines how to place a child vertically inside a parent layout.

Public companion properties

RemoteAlignment.Vertical

Aligns the child at the bottom edge of the parent.

RemoteAlignment

Aligns the child at the bottom-center edge of the parent.

RemoteAlignment

Aligns the child at the bottom-end corner of the parent.

RemoteAlignment

Aligns the child at the bottom-start corner of the parent.

RemoteAlignment

Aligns the child at the center of the parent both horizontally and vertically.

RemoteAlignment

Aligns the child at the center-end edge of the parent.

RemoteAlignment.Horizontal

Aligns the child horizontally in the center of the parent.

RemoteAlignment

Aligns the child at the center-start edge of the parent.

RemoteAlignment.Vertical

Aligns the child vertically in the center of the parent.

RemoteAlignment.Horizontal

Aligns the child at the end edge of the parent.

RemoteAlignment.Horizontal

Aligns the child at the start edge of the parent.

RemoteAlignment.Vertical

Aligns the child at the top edge of the parent.

RemoteAlignment

Aligns the child at the top-center edge of the parent.

RemoteAlignment

Aligns the child at the top-end corner of the parent.

RemoteAlignment

Aligns the child at the top-start corner of the parent.

Public companion properties

Bottom

Added in 1.0.0-alpha23
val Bottom: RemoteAlignment.Vertical

Aligns the child at the bottom edge of the parent.

BottomCenter

Added in 1.0.0-alpha23
val BottomCenter: RemoteAlignment

Aligns the child at the bottom-center edge of the parent.

BottomEnd

Added in 1.0.0-alpha23
val BottomEnd: RemoteAlignment

Aligns the child at the bottom-end corner of the parent.

BottomStart

Added in 1.0.0-alpha23
val BottomStart: RemoteAlignment

Aligns the child at the bottom-start corner of the parent.

Center

Added in 1.0.0-alpha23
val Center: RemoteAlignment

Aligns the child at the center of the parent both horizontally and vertically.

CenterEnd

Added in 1.0.0-alpha23
val CenterEnd: RemoteAlignment

Aligns the child at the center-end edge of the parent.

CenterHorizontally

Added in 1.0.0-alpha23
val CenterHorizontally: RemoteAlignment.Horizontal

Aligns the child horizontally in the center of the parent.

CenterStart

Added in 1.0.0-alpha23
val CenterStart: RemoteAlignment

Aligns the child at the center-start edge of the parent.

CenterVertically

Added in 1.0.0-alpha23
val CenterVertically: RemoteAlignment.Vertical

Aligns the child vertically in the center of the parent.

End

Added in 1.0.0-alpha23
val End: RemoteAlignment.Horizontal

Aligns the child at the end edge of the parent.

Start

Added in 1.0.0-alpha23
val Start: RemoteAlignment.Horizontal

Aligns the child at the start edge of the parent.

Top

Added in 1.0.0-alpha23
val Top: RemoteAlignment.Vertical

Aligns the child at the top edge of the parent.

TopCenter

Added in 1.0.0-alpha23
val TopCenter: RemoteAlignment

Aligns the child at the top-center edge of the parent.

TopEnd

Added in 1.0.0-alpha23
val TopEnd: RemoteAlignment

Aligns the child at the top-end corner of the parent.

TopStart

Added in 1.0.0-alpha23
val TopStart: RemoteAlignment

Aligns the child at the top-start corner of the parent.