开发者

How to repeat a backround image for listview

I have dynamic no of list items to display in a ListView. I am using a background image (fixed height).

I want to repeat this image when list items are too many.

How c开发者_StackOverflow社区an I achieve this?


Why don't you just set the background in your activity (android:background="@drawable/background") and then let the list scroll "over" it? And then set the CacheColorHint of the ListView to #0000 (android:cacheColorHint="#0000")

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜