How can I color code individual rows in a ListView exactly like it is
done in the native MESSAGING app? I do NOT want to simply do
alternating rows, but I want to copy the format used in the MESSAGING
app, where message rows have a different background color based on the
username of the message.

FYI:
I am currently extending SimpleAdapter and overriding getView(int
position, View convertView, ViewGroup parent) . In this method I am
trying to calculate setting the background color based on the position
as compared to a list of 'positions to highlight' that I am
maintaining each time I update the list, but so far this is only
working the first time the list is updated.

Thank you for any guidance you can offer!

-- 
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

Reply via email to