private void setupDrawer ( ) { drawerLayout = ( DrawerLayout ) findViewById ( R . id . drawer_layout ) ; drawerToggle = new ActionBarDrawerToggle ( this , drawerLayout , R . string . opendrawer , R . string . closedrawer ) ; drawerLayout . setDrawerListener ( drawerToggle ) ; }
Sets up the navigation drawer .