开发者

How to Change ListView Font Color?

I want to make an aplication with a white background using a listView for show items.

But, the d开发者_运维百科efault font color of android is white so my items are white too, how can I change the font color of my listview?.


Actually, you cannot change font color of ListView, because ListView does not have text in it. Instead, you can change the items in ListView which is normally provided using an BaseAdapter.

For more about ListView, check out the Hello ListView tutorial. Also, you can check out this ListView example which contains a customized BaseAdapter in ApiDemos. This might solve your problem.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜