The list shows black.

I have a list to which I attach data using an Array adapter. But when I scroll, I find the edges dark.

Why is this happening and how to stop it. Any help please !!

+3
source share
3 answers

This is just a hint that there is more data at the end of the list.

try using

android:cacheColorHint="#00000000"

It will help

+7
source

If you add TextViews or Different Views to the listview, apply the background color of the list to the background color of these views. Then u didn't get a black screen when u scrolls through the list of views

+2
source

? ListView, ListActivity

0

Source: https://habr.com/ru/post/1789724/


All Articles