I wanted my app to have face book like sliding menu. I google'd about the issue and found many posts out there, which only helped me to build a single sliding menu. But what i need is, 2 level sliding menu ie, when i click on some option in sliding menu, it should open another sliding menu on top of it (first sliding menu should blur at this point) like the zomato app as shown below. I tried with JFeinstein sliding menu library, but i could build a 2 level sliding menu using it. Are there any other libraries to achieve this or should i build one on my own?
Shown below is sliding menu from Zomato app :
When i click on "location" option on the above shown menu, it will open a secondary menu as shown below. I wanted the same feature.
Check out the Sliding Panel component a widget enabling multiple overlaid views with sliding interaction for showing multiple depth data in one screen display effectively.
It also provide the demo of referenced implementation you can also check it.
Thanks.
You can easily add as many menu levels as you desired using JFeinstein sliding menu. The idea is to use sliding menu as left or right sliding view of main sliding menu and so on. Complete code of 2 level menu with comments and output is added to make things more clear.
Here is the output:
Note: You need to import JFeinstein sliding menu as library and extend your activity from SlidingFragmentActivity.