I have several buttons in my current app. They are all identical except for their text and a tag. The main.xml would be a lot nicer if I didn\'t have to repeat all the button
You can create a selector
selector
And set the 10 button android:background="@drawable/that_selecter"
android:background="@drawable/that_selecter"