开发者

ListView scrollbar not displayed after ListView.setBackgroundDrawable(null)

I have a listView with a background, scrollbar is showing as wanted. But when I rewove the background with ListView.setBackgroundDrawable(null), the scroll开发者_JS百科bar does not show anymore. Is this the normal behavior ? How to make it visible again ? Thanks


Set ListView.setBackgroundColor(0x00000000) instead of ListView.setBackgroundDrawable(null).


To make it visible again, use setBackgroundDrawable() again not passing null.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜