Skip to content
milan jurkulák edited this page May 2, 2024 · 1 revision

//tvlib/org.mjdev.tvlib.ui.components.tv/Clock

Clock

[androidJvm]\

@Composable

fun Clock(modifier: Modifier = Modifier, timeTextSize: TextUnit = 24.sp, timeTextWeight: FontWeight = FontWeight.Bold, timeTextColor: Color = Color.White, dateTextSize: TextUnit = 12.sp, dateTextWeight: FontWeight = FontWeight.Bold, dateTextColor: Color = Color.White, horizontalAlignment: Alignment.Horizontal = Alignment.End, backgroundColor: Color = Color.Transparent, roundSize: Dp = 8.dp, contentPadding: Dp = 2.dp, showTime: Boolean = true, showDate: Boolean = true, onClick: () -> Unit? = null)

Clone this wiki locally