I have an Actionbar
from android.support.v7.widget.Toolbar
. It has hamburger image with animation to back arrow, I want to change back arrow from &
Add this condition between mDrawerToggle = new ActionBarDrawerToggle...
and mDrawerToggle.syncState();
like this :
mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close);
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
if (getResources().getConfiguration().getLayoutDirection() == View.LAYOUT_DIRECTION_RTL)
{
toolbar.setLayoutDirection(View.LAYOUT_DIRECTION_RTL);
}
mDrawerToggle.syncState();