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

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

Header

[androidJvm]\

@Composable

fun Header(title: Any? = R.string.app_name, appIcon: Any? = R.drawable.person, userIcon: Any? = R.drawable.person, fontSize: TextUnit = 24.sp, fontWeight: FontWeight = FontWeight.Bold, color: Color = Color.White, backgroundColor: Color = Color.DarkGray.copy(alpha = 0.3f), roundSize: Dp = 8.dp, padding: Dp = 0.dp, contentPadding: Dp = 2.dp, messagesCount: Int = 0, onTitleClick: () -> Unit? = null, onClockClick: () -> Unit? = null, onMessageBadgeClick: () -> Unit? = null, onUserPicClick: () -> Unit? = null)

Clone this wiki locally