It seems like the selector always takes the first matching item. As
your first item does not have any conditions, it will always be taken.
You can fix the problem by simply moving your default item to the last
spot.
I guess you copied the code from the ImageButton documentation.
So ff some of
I cannot seem to get the selector to work - even inside a normal
view. is there some trick to getting the selector to work? I have
google'd for examples and tutorial and looked at --
http://dev.android.com/reference/android/widget/ImageButton.html, but
I cannot get the view to change when I set
2 matches
Mail list logo