Hi, I have selector drawable for my widget. But for some reason, the focused drawable (specified below) is not shown. When I use hierarchyViewer, it does show my widget has focus (the 'hasFocus' is true). And its parent has Focus too and its grand parent has Focus.
My question is why andorid is not picking up the focus drawable for my widget? Is there something I need to specify to make this work? Thank you. <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_pressed="true" android:drawable="@drawable/my_pressed" /> <item android:state_focused="true" android:drawable="@drawable/my_focus" /> </selector> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

