Home » Android » android – How to make a sidebar menu

android – How to make a sidebar menu

Posted by: admin June 15, 2020 Leave a comment

Questions:

I’m looking for a way to develop a menu which could be visible by sliding on the left of the current screen. One example is the mobile version of Firefox, when you slide on the left, you can access to the current tabs navigation, but the main page is still visible. It is called a sidebar I think :

EXAMPLE

One possible way to do that is to use ViewFlipper, I guess, but maybe is there an easier and more efficient possibility ? And I’m afraid that handling scrolling horizontally and vertically could be a bit difficult…

Thanks for any answers,

Maxetx.

How to&Answers:

Maybe this will give you an idea

https://github.com/korovyansk/android-fb-like-slideout-navigation

https://github.com/walkingice/gui-sliding-sidebar

Answer:

You may try out SlidingMenu. There is example in lib.