Hi everyone,

If you derive a class from ArrayAdapter for the purpose of customizing
the views of listview items, 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 on select?
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 llistitem select.

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to