I created a button in the layout . In the Drawable folder I created a XML file named btn01_state. The btn0
button
layout
Drawable
XML file
btn01_state
btn0
Make it in code perhaps. Put a listener on the button and when the button is clicked the background is changed.