I create a particular keyboard with 10 key from 0 to 9 and i used simple text. it works but “button” have any effect when user click text.. is it possibile add a ripple effect or other effect to simulate button press?
Android75
12/11/2022, 8:08 AM
message has been deleted
Android75
12/11/2022, 8:09 AM
Copy code
for (i in 0..9) {
Text(text = "$i",
fontSize = fontSize(R.dimen.textdim_keyboard),
color = BlackText,
fontWeight = FontWeight.Bold,
textAlign = TextAlign.Center,
modifier = Modifier
.width(60.dp)
.height(60.dp)
.clickable(
onClick = {}
)
)
Spacer25()
}