How to make Facebook's app new menu on Android?
I was looking for implementing the same thing and I came up with a solution that is good enough (or maybe is really near what they have done).
So what I did was a single FrameLayout with both of the Layouts stacked together and then I just animate the top layout to slide to the right of the screen (just need to call the slideTo or scrollBy. And basically it's that! Quite simple and effective!
EDIT:
I've answered to a similar question here with some code samples, enjoy =): Click here
Shift the screen to right on click of menu; like facebook
This UI Pattern is currently being referred to as Side Navigation and discussed in some detail here:
http://www.androiduipatterns.com/2012/06/emerging-ui-pattern-side-navigation.html
The article also links to several projects that have implemented this navigation:
https://github.com/korovyansk/android-fb-like-slideout-navigation
https://github.com/darvds/RibbonMenu
https://bitbucket.org/jfeinstein10/slidingmenu/overview
https://github.com/Gregadeaux/android-fly-in-app-navigation
It is worth reading the article for its discussion about the issues with this kind of navigation also, though.
the Navigation that facebook app is using
You have two good options.
- Navigation Drawer: http://developer.android.com/design/patterns/navigation-drawer.html
- Sliding Drawer: https://github.com/jfeinstein10/SlidingMenu
You can make multiple navigation drawers for your use case.
iOS Facebook Slide Menu for Android
This was discussed just a few days after you placed your question, here on stackoverflow. Check out this and this question for more information.
Related Topics
I Want Show Notification at 8:00 Am Everyday
How to Reduce Latency in Mediacodec Video/Avc Decoding
How to Handle App Lifecycle with Flutter (On Android and iOS)
Eclipse Indexer Errors When Using Stl with Android Ndk
How to Use Std::Stoul and Std::Stoull in Android
How to Embed a Youtube Clip in a Webview on Android
How to Perform Minification and Obfuscation with the Jack Compiler
Do Android Support Multiple Languages
Change Order of Views in Linear Layout Android
Google Maps API V2 Class Not Found
How to Add a Bullet Symbol in Textview
Find the Physical Address of Exception Vector Table from Kernel Module
Mysterious Stacktrace in Android Developer Console (Bitmap Size Exceeds 32Bits)
Getting Error "Gradle Dsl Method Not Found: 'Compile()'" When Syncing Build.Gradle