How to hide NavigationIcon on toolbar
This is working fine with me:
getSupportActionBar().setDisplayHomeAsUpEnabled(false);
hope it helps somebody
Try setting the NavigationIcon to null while getting back to activity.
Activity.toolbar.setNavigationOnClickListener(new View.OnClickListener( {
@Override
public void onClick(View view) {
Activity.fragmentManager.popBackStack();
Activity.toolbar.setTitle("Activity");
Activity.toolbar.setNavigationIcon(null);
}
});