[android-developers] Re: can't get selector to work inside an app widget...

2009-10-08 Thread Weeds
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

[android-developers] Re: can't get selector to work inside an app widget...

2009-10-07 Thread sdphil
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