I need similar thing too... How to change the font color when list item is selected? It works automatically on default listview items, but if im creating the views... how to account for this?
On Jun 28, 3:56 pm, pawpaw17 <[email protected]> wrote: > Hi everyone, > > If you derive a class from ArrayAdapter for the purpose of customizing > the views oflistviewitems, and you vary the background color of > those > items by doing something like this in getView(): > > // v is the View you are modifying > > if (somecondition){ > v.setBackgroundColor(custom color);} else { > > v.setBackgroundColor(default color); > > } > > How do you maintain the "orange" background onselect? > It completely goes away because I'm forcing the background > color to be the custom color or default theme (black). > > I'm being too heavy handed but haven't figured out how to account > for llistitemselect. > > Thanks! > > pawpaw17 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

