解决的方法是在ListView中加入以下属性即可:android:cacheColorHint="#00000000"。
或者代码中写明listview.setCacheColorHint(0);这样就不会出现这种情况了。
对于ListActivity也一样,只需要在onCreate中加上this.getListView().setCacheColorHint(0); 就可以了。
http://blog.chinaunix.net/uid-21843387-id-105928.html
转载于:https://blog.51cto.com/niyabuxing/1126160