Is there a way for a composable ‘touch area’ to extend outside of the layout area? A hacky way maybe?
e
enighma
04/06/2022, 1:07 AM
You might want to have a look at
LocalMinimumTouchTargetEnforcement
and how it’s used.
n
natario1
04/06/2022, 1:11 AM
Yeah I did. But it looks like it acts on the layout size anyway. At least that’s what I got
a
Adam Powell
04/06/2022, 2:14 AM
It automatically does this for a minimum touch size of 48dp regardless of layout size. The material components change was for additional design reasons to encourage spacing clickable elements far enough apart from one another
n
natario1
04/06/2022, 7:31 PM
I’m interested in this minimum size of 48dp, could you point me to source code? Is it something in compose UI or a material thing?