开发者

Theme issue on an ListActivity

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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜