I have a MainActivity
and 3 Fragments-
- Fragment A
- Fragment B
- Fragment C
I have to replace fragments with PageCurl Effect
A->B->C
How can I do this using PageCurl Effect
for Fragments?
I have read PageCurl
links, But they are only for images.
I have a MainActivity
and 3 Fragments-
I have to replace fragments with PageCurl Effect
A->B->C
How can I do this using PageCurl Effect
for Fragments?
I have read PageCurl
links, But they are only for images.
I guess you want to use one of these Page Curl libraries:
A couple of months before, I've thought a way to create the page curl effect for my ebook application. But it still as an idea not yet implemented. This idea uses library no.1.
Here the simple steps:
- Load fragment A
- Get a whole fragment A screenshot. (this could be a help: Take a screenshot of a whole View)
- Set screenshot from step 2 as the first image for the library.
- Load fragment B and C
- Get a whole fragment B and C screenshot.
- Save as the second and third image for the library.
For the second library, you can learn how to do it like PageTurner doing. But please be aware that PageTurner is licensed under GPL-V3 license.