它采用汉堡包中的导航默认图标(灰色图标)。
mDrawerToggle=new ActionBarDrawerToggle(MainActivity.this,mDrawerLayout,toolbar,R.string.drawer_open,R.string.drawer_open)
{
@Override
public void onDrawerClosed(View drawerView) {
super.onDrawerClosed(drawerView);
invalidateOptionsMenu();
mDrawerLayout.setDrawerListener(mDrawerToggle);
mDrawerList.smoothScrollToPosition(0);
isItemClicked = false;
}
};
mDrawerLayout.setDrawerListener(mDrawerToggle);
mDrawerList.setOnItemClickListener(new SlideMenuClickListener());
}