In Android Studio when create a new project the Android Studio suggest Activity. in Navigation Drawer Activity i want the Drawer Toggle has shown but to Default mode it hidden under navigation.
This is my code:
setContentView(R.layout.activity_main);
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); setSupportActionBar(toolbar);
DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);
ActionBarDrawerToggle toggle = new ActionBarDrawerToggle( this, drawer, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close);
drawer.setDrawerListener(toggle);
toggle.syncState();
please help that change it to show drawer toggle...