Top "Navigation-drawer" questions

Navigation Drawer in a mobile application is the side panel which slides out from the edge of the screen and displays the navigation menu of the application.

Clicking hamburger icon on Toolbar does not open Navigation Drawer

I have a simple android.support.v7.widget.Toolbar and all I am trying to do is to open a …

android navigation-drawer android-toolbar
Cannot resolve method getActivity()

I am new to Android and learning to create fragments in Android by following this example: Fragment Navigation Drawer The …

android android-fragments navigation-drawer
How to replace the hamburger icon used for ActionBarToggle on Android Toolbar with a custom drawable?

I have implemented a basic ActionBarDrawerToggle using the new Toolbar in Android 5.0. However, I am unable to figure out how …

android navigation-drawer android-toolbar
How to programmatically add a submenu item to the new material design android support library

I am trying to add new menu items to a submenu in the new Material Design drawer panel. <android.…

android navigation-drawer material-design
Navigation Drawer: set as always opened on tablets

I am using the Navigation Drawer pattern from the support library: http://developer.android.com/training/implementing-navigation/nav-drawer.html I …

android tablet navigation-drawer
Android - Navigation View item menu background color

i try to change color of my item Navigation View menu : styles.xml <item name="android:activatedBackgroundIndicator">@drawable/…

android navigation-drawer navigationview
Android NavigationView menu group divider

Android support design library provide NavigationView: <android.support.design.widget.NavigationView ... app:menu="@menu/navigation_drawer_items" /> menu/…

android navigation-drawer android-design-library
Android DrawerLayout - No drawer view found with gravity

When I click on my drawer toggle I get the following exception: java.lang.IllegalArgumentException: No drawer view found with …

android navigation-drawer
Handling back press when using fragments in Android

I am using Android Sliding Menu using Navigation Drawer in my application and Fragments are used in the app instead …

android android-fragments navigation back navigation-drawer
How to detect that the DrawerLayout started opening?

So I have tabs that I want to hide when the Navigation Drawer starts opening. The code I have hides …

android navigation-drawer drawerlayout drawertoggle