listView color in android
Question
Hai! In my application i want to change the listView text color in android. How can i achieve this. any solution will be appreciated...
La solution
You'll need to use a custom Adapter to do this. This tutorial looks pretty good: custom list view
Autres conseils
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
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow