Is there any way to let the ripple enabled on click action even if I disable the MaterialButton
?
Asked
Active
Viewed 121 times
0

Augusto Carmo
- 4,386
- 2
- 28
- 61
-
What it is the final goal? Why should a user press a disabled button? – Gabriele Mariotti Oct 21 '20 at 15:15
2 Answers
0
Wrap button with cardview and set card view clickable while setting button disabled

Ramy Ibrahim
- 656
- 4
- 19
0
You can use a boolean that, when set, determines the look and actions of the button when it is pressed.

Zee
- 1,592
- 12
- 26