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
Kirill Grouchnikov
11/09/2022, 6:51 PM
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
Per Jansson
11/09/2022, 7:45 PM
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.