Hi all, I have listview with custom selector for it. On nexus 1 is working fine but on g1 when i am scrolling it set the default background for all items during scroll. The strange thing is that on nexus is working but this is happening only on g1. Here is the code of the selector - <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/custom_background" /> <item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/custom_background" /> <item android:state_focused="true" android:drawable="@drawable/custom_background" /> </selector>
Any ideas ? -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.