Composable Function

RemoteButtonGroup

Layout component to implement an expressive group of buttons in a row.

RemoteButtonGroupThreeButtonSample

@Sampled
@Composable
@WearPreviewDevices
@PreviewWrapper(RemoteComponentPreviewWrapper::class)
fun RemoteButtonGroupThreeButtonSample(modifier: RemoteModifier = RemoteModifier) {
    RemoteButtonGroup(modifier = modifier.fillMaxWidth()) {
        Button(Icons.Filled.MailOutline.toRemoteImageVector(), RemoteModifier.weight(1f))
        Button(Icons.Filled.Favorite.toRemoteImageVector(), RemoteModifier.weight(1f))
        Button(Icons.Filled.Call.toRemoteImageVector(), RemoteModifier.weight(1f))
    }
}
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: