https://kotlinlang.org logo
#compose
Title
# compose
j

Jan Skrasek

03/03/2021, 8:04 PM
I'm trying to create a button with insets - i.e. a part with react to the click but it is outside and doesn't draw any ripple effect outside the button. How can I do that?
t

TheMrCodes

03/03/2021, 8:49 PM
Du you mean like a Button with Label were bouth are clickable but only the button makes a ripple effect?
c

Colton Idle

03/04/2021, 2:18 AM
I think someone brought this up in the past week? And basically said the old material button had an inset, but the current material button doesn't currently support that. In the end, a button actually has a smaller touch target than what were used to. 36 vs 48dp IIRC
j

Jan Skrasek

03/04/2021, 7:03 AM
yeah, I am not particularly worried about the material buttons, just need this for my component.
2 Views