开发者

List shows black colour

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

开发者_Python百科

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


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

try using

android:cacheColorHint="#00000000"

This will help


If u add TextViews or Different Views to listview apply listview background color to background color of those views .then u did not get the black screen when u scroll the listview


How does the hierarchy of your activity look like? If your UI only contains a ListView then it's easier to just inherit from ListActivity

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜