[android-developers] Re: Color of a ListView Header

2010-07-27 Thread Joseph Earl
A header item is ALWAYS at the top of the list, and a footer always at
the bottom.
Doesn't make a lot of difference unless items in your list change
order.

On Jul 27, 12:32 am, John jo-d...@hotmail.com wrote:
 Okay, got it figured out. android:background=#FF00FF00

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


[android-developers] Re: Color of a ListView Header

2010-07-26 Thread John
Okay I figured out that I need to use an eight digit hex number with
setBackgroundColor. Such as
listHeaderView.setBackgroundColor(0xFF00FF00).
Is there any way to do this in XML?

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


[android-developers] Re: Color of a ListView Header

2010-07-26 Thread John
Okay, got it figured out. android:background=#FF00FF00

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