Composable Function

RemoteAppCard

Opinionated Wear Material 3 RemoteCard that offers a specific 5 slot layout to show information about an application, e.g.

RemoteAppCardSample

@Sampled
@Composable
@WearPreviewDevices
@PreviewWrapper(RemoteComponentPreviewWrapper::class)
fun RemoteAppCardSample(modifier: RemoteModifier = RemoteModifier) {
    RemoteAppCard(
        onClick = RemoteAction.Empty,
        appName = { RemoteText("App Name".rs) },
        time = { RemoteText("now".rs) },
        title = { RemoteText("App Card Title".rs) },
        modifier = modifier,
    ) {
        RemoteText("This is a sample App Card.".rs)
    }
}
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: