wood burning stoves 2.0*
The moose likes Android and the fly likes ListView textColor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "ListView textColor" Watch "ListView textColor" New topic
Author

ListView textColor

Mark Wuest
Ranch Hand

Joined: Jun 07, 2003
Posts: 88
I've got a ListView that I populate from an String[].

I tried to change the text color to black on white. Every other item on my screen works.

Except the ListView. The background changes to white. The text stays white.

My main.xml:



My resources.xml:



You may surmise (correctly) that I've tried other permutations of textcolor, listFont, and just color/black.

any thoughts?

Thanks,

Mark
Steven Mann
Ranch Hand

Joined: Apr 05, 2010
Posts: 55
I also need an answer to this. Is it just standard protocol to have black listviews? Would it seem strange to have a black menu leading to a white text area?

regards, Steven


If love was a sandwich, I'd eat it.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: ListView textColor
 
Similar Threads
Hashmap in android
odd framelayout/surfaceview problem
list view problem
Need Help on the scrolling Bar in Android?
how to put layout in middle of the screen?