I\'m following the tips from questions like this to create a button style like suggested on Material Design.
However, I need to change the corner radius and
I will tell you my exact solution for this . Inside selector tags, you can put items (functionality of the buttons)
Second item of the selector tag has the opposite behaviour. You can add as much as selector (button behaviour) ADD THIS DRAWABLE XML AS A BACKGROUND OF THE BUTTON android:background="@drawable/this xml"
-
-
- //first item was state enabled so this is automatically state disabled
-
-
-
-