How to Do Page Flip/Turn/Curl Effect in Android

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

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.

Android page Curl animation

I'm implementing a 2D page curl in the native canvas. Check my answer in: Implement page curl on android?

EDIT: The code project of my implementation: http://code.google.com/p/android-page-curl/
EDIT2: Links updated

Page turn/flip animation in Android?

This is a 3D flip rotation

http://www.inter-fuser.com/2009/08/android-animations-3d-flip.html

that turns the whole page around it's y-axis.

Implement page curl on android?

I just created a open source project which features a page curl simulation in 2D using the native canvas: https://github.com/moritz-wundke/android-page-curl
I'm still working on it to add adapters and such to make it usable as a standalone view.

  • EDIT: Links updated.
  • EDIT: Missing files has been pushed to repo.


Related Topics



Leave a reply



Submit