eschao / android-PageFlip

3D Style Page Flip on Android
Apache License 2.0
1.74k stars 262 forks source link

Page flip for layout is supported ? #9

Closed mssaravanan closed 7 years ago

mssaravanan commented 7 years ago

I have the two layout in my activity . I want to implement the page flip. So can you give me the idea for implementing this library .

eschao commented 7 years ago

I'm not very sure. But I don't think you can use it in two layouts. That is because PageFlip depends on OpenGL and is writing for GLSurfaceView. The GLSurfaceView so far I know is designed to cover the whole screen instead of partial.

Of course, you can derive from the Android View class and implement a custom view to replace the GLSurfaceView. But I don't think there is different between them.

ghost commented 4 years ago

When I place the pages of the book, they are random and not in the order that I have set. Is there a solution?