Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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
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.
I agree. Here's the link:
subject: ListView textColor
It's not a secret anymore!