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!