Composable Function

RemoteRow

A layout composable that positions its children in a horizontal sequence.

RemoteRow

Source set: JvmAndAndroid
@Composable
public fun RemoteRow(
    modifier: RemoteModifier = RemoteModifier,
    horizontalArrangement: RemoteArrangement.Horizontal = RemoteArrangement.Start,
    verticalAlignment: RemoteAlignment.Vertical = RemoteAlignment.Top,
    content: @RemoteComposable @Composable RemoteRowScope.() -> Unit,
)

A layout composable that positions its children in a horizontal sequence.

RemoteRow allows you to arrange children horizontally and control their horizontalArrangement (spacing) and verticalAlignment.

Example of arranging children horizontally with spacing:

Example of distributing horizontal space using RemoteRowScope.weight:

Parameters

modifier modifier to be applied to this row
horizontalArrangement horizontal arrangement of the children
verticalAlignment vertical alignment of the children
content content of the row, which has access to RemoteRowScope
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: