Composable Function

RemoteTimeText

Displays the current time and optional surrounding status text curved along the top of a circular screen.

RemoteTimeTextSample

@Sampled
@Composable
@WearPreviewDevices
@PreviewWrapper(RemoteComponentPreviewWrapper::class)
fun RemoteTimeTextSample(modifier: RemoteModifier = RemoteModifier.fillMaxSize()) {
    RemoteTimeText(modifier = modifier)
}

RemoteTimeTextWithLeadingTextSample

@Sampled
@Composable
@WearPreviewDevices
@PreviewWrapper(RemoteComponentPreviewWrapper::class)
fun RemoteTimeTextWithLeadingTextSample(modifier: RemoteModifier = RemoteModifier.fillMaxSize()) {
    RemoteTimeText(
        modifier = modifier,
        leadingText = "ETA 12 min".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: