[android] navigation drawer close and open listener set. android, navigation drawer close and open listener set. mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout, R.drawable.ic_drawer, R.string.drawer_open, R.string.drawer_close) {/** Called when a drawer has settled in a completely closed state. */public void onDrawerClosed(View drawerView) {// ... do sth.} /** Called when a drawer has settled in a completely open state. */public void on.. 2013. 12. 27. [android] NavigationDrawer Tutorial android, NavigationDrawer Tutorial Layout You should use DrawerLayout to enable your app edge activated for open drawer automatically.Otherwise you have to implement drawer open touch event by yourself. You must keep in mind that FrameLayout that is responsible for drawer has to be come last.Because android draws xml declared layout from the bottom so that the drawer will be come most upper part.. 2013. 11. 28. 반응형 이전 1 다음