Here at SWARM, a design and app development company based in New York, we are focused on exploring new ways to improve Android apps. Here’s a great tip on how to add some sizzle to your app, simply by using the transition and animation support built into the fragment framework. Let’s talk about Android Fragment Animations:
To use one of the built-in Transitions, use the setTranstion() method:
You can also customize the animation by using the setCustomAnimations() method:
Finally, It’s also possible to kick-off multiple fragment animations in a single transaction. This allows for a pretty cool effect where one fragment is sliding up and the other slides down at the same time:
Checkout the code for this sample on Github: https://github.com/swarmnyc/AndroidFragmentAnimations. Look forward to your thoughts.