Android : Using selector to change button background image and color
问题 I have a button I set its background to specific selector . The selector currently changes the button background and changed an image as the background. I also want the background color to be changed (the image is icon with transparent space around). This is the selector : <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android" > <!-- default --> <item android:state_pressed="false" android:state_focused="false" android:drawable="@drawable