Android 4.3. The Material Design guidelines, however, suggest that the navigation drawer should be over the Toolbar (formerly ActionBar) in all apps moving forward. The navigation drawer is a panel that displays the app’s main navigation options on the left edge of the screen. This is achieved by making the action bar an overlay so the window lays out the content to its full height. This helper method within MainActivity does the trick on 4.0 and above:.
(Note: I’ll use Android’s Support Library classes through all the code). Implementing the new Navigation Drawer in Android I wanted to try out the new Navigation Drawer that s provided in a recent release of the Android Support Library. This basically enables the icon in the ActionBar to be used to toggle the drawer, along with swiping from the left edge. It should be drown under the status bar and above the Action Bar (or Toolbar). Android Material Design Navigation Drawer Under Status Bar With Toolbar.
MenuItemCompat; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.ActionBar; import android.support.v7.app. Do you need android:fitsSystemWindowstrue in both the DL and the LL? In the new drawer navigation action bar stays on top and does not move away. I think that the drawer navigation is a bit over used in apps nowadays.
Using Drawerlayout The Material Way (i) Medium