Like I said, know bug, fixed in cupcake, don't use a solid color, use only other types of drawables.
On Fri, Feb 13, 2009 at 10:59 AM, Ben Williamson <[email protected]> wrote: > > Ben Williamson wrote: >> I have an expandable list view that I'm trying to create custom >> selectors for. >> >> I have a style set as such (in styles.xml) >> <style name="MyOwnTheme" parent="android:Theme"> >> <item name="android:listSelector">#FFFFFFFF</item> >> </style> >> >> And I've assigned this style to the list view as such >> <ExpandableListView android:id="@android:id/list" >> android:layout_width="fill_parent" >> android:layout_height="fill_parent" >> android:layout_weight="1" >> android:drawSelectorOnTop="false" >> android:divider="#000000" >> android:dividerHeight="0dp" >> android:color="#FFCE6A8D" /> >> >> But now the entire list view gets the selector, not just the selected >> item... Anyone know what's up with this? > Pasted the wrong code.... > > <ExpandableListView android:id="@android:id/list" > android:layout_width="fill_parent" > android:layout_height="fill_parent" > android:layout_weight="1" > android:drawSelectorOnTop="false" > android:divider="#000000" > android:dividerHeight="0dp" > style="@style/MyOwnTheme" /> > > > also tried setting android:listSelector, same effect, and grabbing the > list view via code and setting setListSelector.... they highlight the > entire list when I touch on a single item. > > > > -- Romain Guy Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

