Android, Accessibility, Kotlin, Android App Development, Jetpack Compose.
Color.DarkGray else Color.LightGray) ) { Box( Modifier .align(Alignment.Center) .clickable { clicked = !clicked } .background(Color.Black) .sizeIn(minWidth = 48.dp, minHeight = 48.dp) ) } } Add click labels You can use a click label to add semantic meaning to the click behavior of a composable.