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
2010-03-30 19:49:44
Just wanted to add this in case someone else finds this thread.I used 'android:cacheColorHint="#00000000"' on the ListView layout to fix.
Eno
2010-03-30 22:04:52
A:
ScrollingCache="false" in your activity's *.xml file for the list object should do the trick, too.
ubuntudroid
2010-03-30 22:06:16
That's a terrible idea, it makes scrolling/flinging the list a lot slower.
Romain Guy
2010-03-30 23:44:39
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
2010-03-31 09:32:31
A:
Vinayak
2010-08-25 07:11:35