How to let ripple enabled even when the MaterialButton is disabled?

141 views Asked by At

Is there any way to let the ripple enabled on click action even if I disable the MaterialButton?

2

There are 2 answers

0
Zee On

You can use a boolean that, when set, determines the look and actions of the button when it is pressed.

0
Ramy Ibrahim On

Wrap button with cardview and set card view clickable while setting button disabled