I have a ListActivity on wich I apply a light theme using the manifest.
The theme is defined as follow
<style
name="Theme.Light"
parent="android:Theme"
>
<item
name="android:windowBackground"
>@android:color/background_light</item>
</st开发者_运维技巧yle>
The idea is to make the ListActivity white instaid of the default black color.
The list is showing white as expected but it turn black as soon as I scroll it. It turn back white when I stop scrolling.
Thanks
This should be what you're looking for:
http://developer.android.com/resources/articles/listview-backgrounds.html
精彩评论