Side navigation menu like Facebook app
Asked Answered
A

4

34

I'm looking for something similar to what the new Facebook app has implemented for the Android/ios mobile applications. I am referring to a side navigation menu which opens with a finger movement. Something like this

Is there any library or example where I can check?

Thank you very much.

Aleydis answered 7/12, 2011 at 22:53 Comment(2)
Just refer following question in SOF #8658394Canakin
This has been answered already by Aruna Lakmai in the comment above and should be marked as answered. Basically he links to the previous duplicate Stack Overflow question which has some great answers: #8658394Anabatic
M
6

Use SideNavigationView for side menu like facebook. But you will need a library for this which you can download from here "https://github.com/johnkil/SideNavigation".

Code for using it is:

SideNavigationView  sideNavigationView;
sideNavigationView = (SideNavigationView)findViewById(R.id.side_navigation_view);
sideNavigationView.setMenuItems(R.menu.sliding);
sideNavigationView.toggleMenu();

Now, make menu you want to show in Slide menu.

All the best....

Maribeth answered 3/5, 2013 at 5:42 Comment(0)
I
5

Like Wubao Li said , this now is supported by android in the DrawerLayout

Here is a tutorial of how to use it http://developer.android.com/training/implementing-navigation/nav-drawer.html

And here a doc about how it should work http://developer.android.com/design/patterns/navigation-drawer.html

Ink answered 30/5, 2013 at 14:57 Comment(0)
A
3

With android support package revision 13( may 2013), there is DrawerLayout for creating a Navigation Drawer that can be pulled in from the edge of a window. And, navigation drawer is a design pattern now. http://developer.android.com/tools/extras/support-library.html

Agential answered 15/5, 2013 at 20:56 Comment(0)
E
2

This is my implemetnation https://github.com/MihaelIsaev/Swiper Enjoy :)

Expedient answered 22/3, 2013 at 2:41 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.