How to do page flip/turn/curl effect in android

krunal shah picture krunal shah · Oct 1, 2010 · Viewed 68.9k times · Source

Possible Duplicate:
Implement page curl on android?

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.

Answer

Upvote picture Upvote · Oct 2, 2010

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

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.

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.