Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android page Curl animation

  1. Is there a simple way to do the Curl page flipping animation? A Curl animation is animation of pages flipping, including the page above rolling and the shadows over the lower page.
  2. What is the recommended way to do a "gallery" that displays two pages at a time (just like a book)?

    Is it:

    1. Letting the adapter display a linear layout of two images at a time? (it won't let me show a page flipping over the other like a book)
    2. Using two pages, placing somehow one near the other, and then when it's time to animate -move the next two pages over? What is the better way that would enable displaying the left page flipping over the right page?
like image 404
Meymann Avatar asked Jun 10 '10 14:06

Meymann


2 Answers

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

like image 89
Moss Avatar answered Oct 06 '22 00:10

Moss


I am using this code. Its really really perfect for any one to understand and use. Thanks a lot to Harism

GitHub Link for Page Curl Animation in android With OpenGL

like image 41
Arslan Anwar Avatar answered Oct 06 '22 00:10

Arslan Anwar