actionbardrawertoggle

Changing Navigation drawer hamburger icon

邮差的信 提交于 2019-11-30 05:09:21
I am trying to change hamburger menu icon for NavigationView but I am unable to do so. Here is what I have tried so far I have a base activity where nav drawer setup is done. Here is relevant piece of code @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); super.setContentView(R.layout.activity_base_nav); setSupportActionBar(toolbar); setupDrawer(); } private void setupDrawer() { mDrawerLayout.setDrawerListener(this); mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout, R.string.open, R.string.close); mDrawerToggle = new

Changing Navigation drawer hamburger icon

牧云@^-^@ 提交于 2019-11-29 00:51:15
问题 I am trying to change hamburger menu icon for NavigationView but I am unable to do so. Here is what I have tried so far I have a base activity where nav drawer setup is done. Here is relevant piece of code @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); super.setContentView(R.layout.activity_base_nav); setSupportActionBar(toolbar); setupDrawer(); } private void setupDrawer() { mDrawerLayout.setDrawerListener(this); mDrawerToggle = new