Android Navigation Drawer new style - android

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

Related

How can I open a navigation drawer with a swipe from the left gesture?

I created a navigation drawer but I don't want to use the ActionBar with the hamburger button, I would like to be able to open the navigation drawer with a swiping gesture from the left to the right in every activity.
I also don't understand very well the use of Fragments.
By the way, to create my Navigation drawer I used this youtube video: Video
Thanks.
You can achieve this by hiding the hamburger button. Set your toolbar navigation icon to null.
toolbar.setNavigationIcon(null);

Android Material Design Bottom Navigation and Drawer combined

I'm wondering if I should combine the material design Bottom Navigation and the Navigation Drawer.
As is understand there is always one item active in the Bottom Navigation Bar, but what if I choose to navigate to a page using the Navigation Drawer menu? How do I preserve navigation consistency.? The Bottom Navigation item will still be active even if I navigated to a different activity/fragment.
I was thinking about setting all Bottom Navigation items to inactive in case a user navigates using the Navigation Drawer.
Unfortunately, the lib I'm using (https://github.com/pocheshire/BottomNavigationBar) doesn't support this.
How does the Bottom Nav Bar coexist with the Navigation Drawer? What am I missing here?
Looking at the design guidelines, it's pretty clear that the navigation drawer is at a higher z-level (hence higher hierarchy). Think of bottom navigation as essentially a replacement for tab layouts. You can look at the Google Photos application as an example.

how to set navigation drawer in bottom to up

I want create navigation drawer in the bottom , when click button open navigation in bottom to up
like this in link
http://imgh.us/Screenshot_2015-08-13-21-27-20_1.png
The default Navigation drawer does not work that way. Consider using
https://github.com/wunderlist/android-sliding-layer-lib
It allows you to configure a view/layout(with your content) that can slide into your screen from any direction.
This answer may be too late for the original asker, but you could get this effect by using a Sliding Drawer. It has since been deprecated, however, there are some nice open source alternatives around, like the ones in the links below:
https://github.com/umano/AndroidSlidingUpPanel
https://github.com/wunderlist/android-sliding-layer-lib
https://github.com/Ali-Rezaei/SlidingDrawer

How can I make the navigation drawer to not close the left drawer completely?

I have an Activity that its root element is a DrawerLayout, the DrawerLayout has a ListView child that acts as the left view of the drawer layout.
The question is:
How can I force the left drawer's list view to not close completely ?
I want its closed state to be like the photo below
I am currently using Android's guide to Create a Navigation Drawer.
I am open for any other library - like Sliding Menu - if that accomplishes my goal.
Thanks in Advance.
You can use SlidingPaneLayout, it's similar to NavigationDrawer.
Check this tutorial to find out how to reach it.
Why not just use that far leftmost menu as a fragment within your activity. Upon opening the NAv Drawer, you can still have it show the menus that are 2nd or 3rd level. This is pretty standard for our app, with a menu exposed and further menus available upon opening the drawer

NavigationDrawer with Top to bottom menu?

Is it possible to use the NavigationDrawer as menu coming from top to bottom instead of left to right?
This is umano app's sliding up panel, I used this in my app, You can easily convert it to top to bottom
https://github.com/umano/AndroidSlidingUpPanel
Yes , ofcourse you can but it may create a confusion between the notification screen of android OS and your apps navigation drawer so its a good practice to put your navigation drawer either from left side or from right .
for more info you can have a look at this articles
http://developer.android.com/training/implementing-navigation/nav-drawer.html
http://developer.android.com/design/patterns/navigation-drawer.html

Categories

Resources