drawerToggle
drawerToggle is a control for collapsible drawerLayout on the left side of the page. This drawer contains the application’s main menu.
-
XML element:
drawerToggle -
Java class:
DrawerToggle
Basics
drawerToggle is typically placed on the main application view. Together with navigationBar and drawerLayout they create a common pattern for navigating the application.
In the default application template, drawerToggle is located in the upper left corner of the navigation bar.
It allows users to access main menu from anywhere in the application or collapse it to provide more space for the current view.