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

vipulasri

02/23/2020, 2:51 PM
Padding
has been removed in favour of
LayoutPadding
in dev-05. I am having issue replicating the this ripple behaviour now.
Now, using
LayoutPadding
has modifier in Row. P.S: Notice the ripple height and width in first vs second. First one, takes draws ripple with padding in consideration and second one doesn't. Though layout draws works similarly.
a

Adam Powell

02/23/2020, 3:02 PM
I think we might be tracking this already but please file a bug
v

vipulasri

02/23/2020, 3:02 PM
okay sure.
l

Louis Pullen-Freilich [G]

02/23/2020, 3:03 PM
I think for now if you just add a box outside the row, and put the ripple above that box, it should work
👍 1
v

vipulasri

02/23/2020, 3:26 PM
Yeah, thanks thats an alternative solution for now.
👍 1