怎么办翻页/转/袅袅的Andr​​oid效果翻页、效果、Andr、oid

由网友(談情不如逗狗)分享简介:可能重复: 实现页面卷曲在Android? 怎么办翻页/车削或卷曲动画的android?是有可能与cocos2d的。如果你知道,请提供任何链接或例子。How to do page flipping/turning or curl animation in android ? Is is possible with...

可能重复:   实现页面卷曲在Android?

怎么办翻页/车削或卷曲动画的android?是有可能与cocos2d的。如果你知道,请提供任何链接或例子。

How to do page flipping/turning or curl animation in android ? Is is possible with cocos2d. Please provide any links or example if you know.

推荐答案

您可以使用ViewFlipper视图之间翻转。 http://developer.android.com/reference/android/widget/ViewFlipper.html

You can use ViewFlipper to flip between views. http://developer.android.com/reference/android/widget/ViewFlipper.html

简单ViewAnimator,将两个或多个视图之间进行动画的   已经被添加到它。只有一个孩子显示的时间。如果   要求,能自动每个孩子之间的定期翻转   间隔。

Simple ViewAnimator that will animate between two or more views that have been added to it. Only one child is shown at a time. If requested, can automatically flip between each child at a regular interval.

有可以分配不同的动画。 See这里的范例还是在这里SO 。

It is possible to assign different animations. See here for examples or here on SO.

不过,这取决于你想翻转和动画究竟是什么。你可以画出不同的形状和拖动或动画。

But it depends on what actually you want to flip and animate. You can draw different shapes and drag or animate them.

阅读全文

相关推荐

最新文章