Navigation Drawer ActionBar button not working

后端 未结 4 982
盖世英雄少女心
盖世英雄少女心 2020-12-07 20:48

I am working on an android project and I\'m trying to integrate the new Navigation Drawer using the example from http://developer.android.com/training/implementing-navigatio

4条回答
  •  时光说笑
    2020-12-07 21:13

    Its work for me.

    drawerToggle.setToolbarNavigationClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                mDrawer.openDrawer(GravityCompat.START);
            }
        });
    

提交回复
热议问题