following image is a top down sliding navigation drawer (after click on navigation icon action bar become to menu), how can I modify navigation drawer to be something like this? is there any library for it?
thanks.
You could try to use a "reversed" Bottom Sheet component and fill it with a custom ListView as a menu.
I've found this repository on github for building a "top sheet", hope it helps!
Related
I am new to Android. I want to implement navigation drawer as this :
The Navigation drawer should open below App Bar and should have red left pane for category icon and right page (white) with navigation options.
I am trying to convert default Navigation Drawer activity of Android to this style but don't know where to start with.
If anyone can help me implementing this would be great help.
Thanks in advance.
you need a custom navigation drawer to achive that, you can start by following this link https://github.com/awidiyadew/DrawerMultiLevelListview
How to using Custom Sliding menu OR how to set navigation drawer to be opened from right to left?
My Screenshot is,
Please Guide me.
Thanking you.
Your can use sliding menu:
https://github.com/jfeinstein10/SlidingMenu
menu.setMode(SlidingMenu.RIGHT);
In this type of Navigation Drawer, when you swipe from the left edge of the screen, current screen moves to right side while resizing and the Navigation Drawer become visible by a transparency transition effect while its resizing too. And also the Navigation Drawer shows up from behind of the current activity.
Like this one, my "Music" application:
So, how can I achieve this kind of Navigation Drawer? Is there any library, tutorial or...?
Many thanks!
its not navigation drawer (navigation drawer always comes from the top of screen).
you can use sliding layout.
https://developer.android.com/reference/android/support/v4/widget/SlidingPaneLayout.html
The closet library I found is SlidingMenu.
An example on Google Play:
https://play.google.com/store/apps/details?id=com.slidingmenu.example&hl=en
How can I slide the layout with action bar ?
Right now my navigation drawer list just appear below the action bar, but I want it to overlap the action bar onclick of navigation drawer icon; can I do this?
For this you can use sliding pane layout
Here is a link
https://github.com/cricklet/Android-PanesLibrary/tree/master/example
you can slide the layout with action bar
you have to make a sliding pane and then navigation drawer in the 2nd view
which you will get after implement this example
and here is the link for navigation drawer
http://www.codeofaninja.com/2014/02/android-navigation-drawer-example.html
combine these examples
it can help you a lot!!
Navigation drawer usually stays below action bar so you can slide it out or open it via the navigation button. Based on the image you posted, I think you should use this well-known lib: https://github.com/jfeinstein10/SlidingMenu.
It takes some steps to set up but when you're done you can customize it the way you want easily. The author also provided demo on Google Play Store and Youtube for you to review.
how to make sliding drawer like below from left to right and right to left.This should be done in both side when click on button.without Action bar and after sliding from left to right part of list should be seen in right side
Android Navigation Drawer
*Recommended: * SlidingMenu Library
You can create a side menu navigation drawer using ActionBarSherlock Library
http://www.androidbegin.com/tutorial/implementing-actionbarsherlock-side-menu-navigation-drawer-in-android/