[Android] How to create custom button in Android using XML Styles
1. Create an XML file that represents the button statesCreate an xml into drawable called 'button.xml' to name the button states: 2. Create an XML file that represents each button stateCreate one xml file for each of the four button states. All of them should be under drawables folder. Let's follow the names set in the button.xml file.button_enabled.xml: button_focused.xml: button_pressed.xml: b..
2015. 5. 18. 21:57