Change drawer icon back to back arrow

后端 未结 2 1861
长发绾君心
长发绾君心 2020-12-23 11:33

I\'m using the new DrawerLayout to have side navigation. I\'m using the drawer icon (the \'hamburger\') like this:

@Override
protected void onSt         


        
2条回答
  •  天涯浪人
    2020-12-23 12:03

    To disable and hide the DrawerToggle "Hamburger", just call

    mDrawerToggle.setDrawerIndicatorEnabled(false);
    

提交回复
热议问题