Colton Idle
07/29/2022, 11:45 AMMR3Y
07/29/2022, 12:04 PMColton Idle
07/29/2022, 1:41 PMMR3Y
07/29/2022, 2:22 PMMyItem(
modifier = Modifier.clickable(
interactionSource = remember{ MutableInteractionSource() },
indication = rememberRipple()
) { /* handle onClick() */ }
)
Colton Idle
07/29/2022, 2:24 PMMR3Y
07/29/2022, 3:09 PMIndication
that matches the bounds of your rounded shape and use that indication in modifier.indication
, here is an example for how to do this: https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/[…]tion&ss=androidx%2Fplatform%2Fframeworks%2Fsupport:compose%2F. try it and see if it worksColton Idle
07/29/2022, 3:35 PM