开发者

How can implement infinite HorizontalScrollView in Android

开发者 https://www.devze.com 2023-03-14 23:20 出处:网络
I used buttons in HorizontalScrollView. normally when scroll right, after the last button I have to scroll left. But I want to know when scroll right

I used buttons in HorizontalScrollView. normally when scroll right, after the last button I have to scroll left. But I want to know when scroll right after the last bu开发者_StackOverflowtton it should show the first button. not want to scroll left.

just as circle.

thanks


I don't know how to do that trick with horizontalScrollView, i thought that it's impossible, but i know one widget, that maybe can help you http://code.google.com/p/android-wheel/ unfortunatly, it's only vertical, and you can't put buttons into it. I tried to make it horizontal, but failed. Maybe, if you will need, you'll get more luck

0

精彩评论

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

关注公众号