I am trying to very simply style a Button
. I just want it blue with with text when not pressed, and white with blue text when clicked.
I tried to do this w
android:background
seems to accept drawable selectors but not color selectors... so just leave a color as your android:background
, and use a normal color selector with android:backgroundTint, which expects colors anyway:
at styles.xml:
(res/color/background_color_selector.xml
is a normal color selector.)