listView color in android

212 Views Asked by At

Hai! In my application i want to change the listView text color in android. How can i achieve this. any solution will be appreciated...

2

There are 2 best solutions below

0
On BEST ANSWER

You'll need to use a custom Adapter to do this. This tutorial looks pretty good: custom list view

0
On

ListView uses some optimizations when displaying itself, so you have to take some care when changing colors: http://developer.android.com/resources/articles/listview-backgrounds.html