On Thu, Jan 5, 2012 at 9:50 AM, John Davis <[email protected]> wrote:
> I have a listview with items in it.  I would like to set certain line
> items to be a certain color.  Is this possible?

Override getView() of your ArrayAdapter (or bindView() of your
CursorAdapter) and put in the logic to set the color as part of
configuring that row.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

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