Interface

RemoteAlignment

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

Source set: Android
public 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:

  • Horizontal: Start, CenterHorizontally, End
  • Vertical: Top, CenterVertically, Bottom

Properties

horizontal

Source set: Android
@get:RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) public val horizontal: Horizontal

vertical

Source set: Android
@get:RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) public val vertical: Vertical

Last updated: