https://kotlinlang.org logo
#compose
Title
# compose
a

alorma

01/07/2021, 3:23 PM
How To change ripple color of a Card?
f

fmasa

01/07/2021, 3:54 PM
Copy code
Card(
    modifier = Modifier.clickable(
        indication = rememberRipple(color = Color.Cyan),
        onClick = { /* Do something */ },
    )
) {
    /* Card content */
}
Ripple is bound to clickable modifier.
a

alorma

01/07/2021, 3:56 PM
u_U not so much intuitive...
it works like a charm, thanks
👍 1
94 Views