how to set height and width of this icon? i have attached the screenshot, following is my code for setting this custom icon:
ActionBarDrawerToggle toggle = new ActionBarDrawerToggle(this , drawer , toolbar, R.string.navigation_drawer_open , R.string.navigation_drawer_close);
drawer.setDrawerListener(toggle);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
getSupportActionBar().setDefaultDisplayHomeAsUpEnabled(false);
toggle.setDrawerIndicatorEnabled(false);
toggle.setHomeAsUpIndicator(R.drawable.menu_white);
toggle.syncState();
toggle.setToolbarNavigationClickListener(new View.OnClickListener() {
@Override
public void onClick(View view)
{
DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);
if (drawer.isDrawerOpen(GravityCompat.START))
{
drawer.closeDrawer(GravityCompat.START);
}
else
{
drawer.openDrawer(GravityCompat.START);
}
}
});
Anyone can suggest what to do in this situation?