You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!!!
I have next problem.
I want to have ripple effect for button with custom shape. I wish I could use ripple xml but I need to support some older than 21 api devices. I also want my button to have height same to standard one.
Because I use custom background I need to specify its size to 36dp manually. BUT... Google recommends to have 48 height touch zone for button with 36 dp.
Hi!!!
I have next problem.
I want to have ripple effect for button with custom shape. I wish I could use ripple xml but I need to support some older than 21 api devices. I also want my button to have height same to standard one.
Because I use custom background I need to specify its size to 36dp manually. BUT... Google recommends to have 48 height touch zone for button with 36 dp.
If I do next
I will have "incorrect" touch zone with 36 dp height.
But if I do next
I will have incorrect ripple animation out of border.
That's why it would be great if MaterialRippleLayout considers specified paddings for animation.
Thank you!
The text was updated successfully, but these errors were encountered: