I’ve been looking for examples on how to animate two views (or fragments) left and right as is done in the Android Google+ app. I have not been successful.
I would like to be able to slide in – left to right – a fragment over another one, at command, and as a reaction to the user swiping the screen. The animation should follow the user’s finger across the screen, allowing them to pause in the middle of the animation etc.
Does anyone know where to start on this sort of layout animation? Tips on how Google+ does it? I’d like any information we can dig up! I’ve been quite unsuccessful =\
This is the best resource about the side menu, there is no code but a clear explanation on how to implement it:
Fly-in app menu
and this is a post on how to animate the action bar related to the side menu:
Slide action bar
Hope it will help.