Reputation: 201
I meet a Ui problem,I use a preferenceActivity to finish my software's settings function.But I set a image to the preferenceActivity's listview background or preferenceActivity's background,then I scroll the listview,the background image will be flushed or gone,can anyone meet this problem before?I test it on android 4.0,this issue doesn't exist.
Upvotes: 1
Views: 231
Reputation: 63293
It's most likely an issue with the cacheColorHint
property of the ListView
, which is designed to aid scrolling performance when lists have a solid background. It can be removed by setting the cacheColorHint
to be transparent.
You can read this Android Developers blog post for more information:
Upvotes: 2