I have this simple structure:
@Composable
public fun RadioButtonWithText() = Row(
modifier = Modifier.selectable(
...
)
) {
RadioButton...
Text...
}
}
Now to make things easily accessible for the user, I set the whole Row up with Modifier.selectable, but the ripple effect that is created on the whole row does not work very well with the design of the application, so it would be better if the ripple effect was only shown on the radiobutton component, even when the whole row is pressed.
Is such a thing possible?
I don't know very well ripple effect but maybe you can achieve this by using a combination of composables and modifiers.