This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "ListView textColor" Watch "ListView textColor" New topic

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?


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.
wood burning stoves
subject: ListView textColor
Similar Threads
Hashmap in android
odd framelayout/surfaceview problem
list view problem
how to put layout in middle of the screen?
Need Help on the scrolling Bar in Android?