views:

132

answers:

2

while scroll the listview, the Layouts background gets flickering. that is the layout is has a background image. this image will gets invisible and reload all the time while scrolling. how to rectify this? Any Idea?

Note: its happening for inbuilt android Array Adapter too.

setListAdapter(new ArrayAdapter<String>(this,
                android.R.layout.simple_list_item_1, list_value));
+1  A: 

Have a look at this answer, esp. the android:cacheColorHint part.

alex
+1  A: 

The official Android site has a detailed discussion on this issue, I believe.

Michael A.