Is there a way to change the background on an ImageButton without creating another button for that state?
I mean, when you add an ImageButton it gets a grey background and gets slightly darker grey when selected.
Adding: android:background="@color/white"
, will make my background white (like i want), but noting happens when selecting the button. It would be nice with something like:
android:background_selected ="the color you want here"
I want a button that has a with background in normal state and a blue background when pressing that button.