views:

263

answers:

3

Ive specified white backgrounds for pretty much all widgets and it works, except when scrolling. The background container goes black during scrolling resulting in annoying flickering.

+5  A: 

You will need to use setCacheColorHint(). Explanation of the issue and solution here

jqpubliq
Just wanted to add this in case someone else finds this thread.I used 'android:cacheColorHint="#00000000"' on the ListView layout to fix.
Eno
A: 

ScrollingCache="false" in your activity's *.xml file for the list object should do the trick, too.

ubuntudroid
That's a terrible idea, it makes scrolling/flinging the list a lot slower.
Romain Guy
Oh, good to know! For me it always worked well. Nevertheless, I will avoid this in the future and use the setCacheColorHint() solution... Thanks!
ubuntudroid