Android ViewFlipper动画(ViewPage)
我有一个使用 ViewFlipper 来进行分页的应用程序,我会用很酷的动画进行分页,这就是我的问题。我希望动画与移动手势同步。就像这个视频:http://www.youtube.com/watch?v =2FRuFcBuPWc&feature=related,00m 40s 之后。
那么,如何实现随翻转手势移动的动画呢?抱歉,如果这是一个愚蠢的问题,我是动画新手。
提前致谢!
编辑:我想要一个循环的ViewPager,能够在此链接中解决https://stackoverflow.com/ a/12965787/821054
I got an application that uses ViewFlipper in order to do pagination, I would my pagination with a cool animation, and there is my problem. I want the animation to be synchronized with the move gesture. Pretty like this video: http://www.youtube.com/watch?v=2FRuFcBuPWc&feature=related, after 00m 40s.
So, how can I implement the animations to move along with the flip gesture? Sorry if it is a silly question, I'm new to animations.
Thanks in advance!
Edit: I wanted a looped ViewPager, was able to solve in this link https://stackoverflow.com/a/12965787/821054
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
抱歉,我最初不明白您想要做什么。我找到了您正在寻找的内容,并在我的应用程序中成功实现了它。
它称为 ViewPager。
这是关于 ViewPager 的帖子。
这是一些源代码。
Sorry, I didn't understand what you were trying to do initially. I found what you were looking for, and got it successfully implemented in my app.
It's called a ViewPager.
Here's a post about the ViewPager.
And here's some source code.