What are good ways to implement the visual effect of Flipboard's flip in sideway direction or just flipping a page effect in Android app? Are there any simple examples available?
-
My app has an activity with GridView to show curated photos. As I scroll down, new photos get updated on the current activity screen. I want to replace this "scroll down" effect with "Flip" effect. Should I use Drawables/Canvas or OpenGL to achieve this in Android?
-
Answer:
For building flip animations between views for android, you should try out the wonderfulhttps://github.com/openaphid/android-flip library from OpenAphid. Using the library is quite straightforward. You just need to create a FlipView and feed it views using an Adapter and it takes care of the rest. You might need to refresh the pages if your views update after being rendered (e.g. if you are displaying a remote image). If you would like to avoid using an external library altogether, I would suggest the series ofhttp://openaphid.github.io/blog/categories/flipview/ by OpenAphid where they describe how they built the flip view. Animations for Android are still behind the iOS Core Animations (specially if you want to support older versions). OpenGL seems to the best way to levarage the device capabilities to smooth out the animations. You would need to take screenshots for the views that you want to flip between and then render the animation using OpenGL ES.
Sapan Diwakar at Quora Visit the source
Other answers
Found another blog post, which explains how to use android flipview from OpenAphid with your project: http://devcodez.wordpress.com/2014/04/05/how-to-implement-flipboard-animation-on-android-tutorial/
Ladoo Boy
Related Q & A:
- What are good ways to save up for an iPod Touch?Best solution by wikihow.com
- What are good ways to promote my website?Best solution by Yahoo! Answers
- What are easy ways of writing a good essay?Best solution by Quora
- What are good ways to get the "Last Second Bid" on eBay successfully?Best solution by ebay.com
- What are good ways for personal fund raising?Best solution by wiki.answers.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.