I would like to increase the press area a lot on one of the buttons in my application. What would be...
p
I would like to increase the press area a lot on one of the buttons in my application. What would be the best way to do that, without increasing the look of the button itself, but still allow the button’s custom press animation to show?
k
How much is that lot? Is it going to overlap with any other elements? Material has this internal thing which increases the area taken by a composable.
p
How much would vary a bit, but approximately 10-100dp around the pressable element. The app runs on crappy screens so the actual touch point is sometimes not exactly where the finger is. It should not start overlapping other elements.
k
Then you can wrap it in something like that
layout
element