Android Button Selector Generator
Normal State
Pressed State
Extract the downloaded zip file and copy the content into your "drawable" folder.
Set the main XML file as your button's background
Set the main XML file as your button's background
<Button
...
android:background="@drawable/selector_fileName_button"
...
/ >
...
android:background="@drawable/selector_fileName_button"
...
/ >