Know bug fixed in cupcake. In the meantime, don't use a color as a selector, instead use a 9patch.
On Fri, Feb 13, 2009 at 10:21 AM, Ben Williamson <[email protected]> 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? > > > > -- 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 -~----------~----~----~----~------~----~------~--~---

