I\'m using the new toolbar from the Appcompat V7 library and I\'m making an application with navigation drawer and with fragments.
In some fragments I don\'t want to sho
Simply you can set Navigation icon and make sure you are setting setNavigationOnClickListener()
after setting setSupportActionBar(toolbar)
toolbar.setNavigationIcon(getResources().getDrawable(R.drawable.ic_arrow_back));
toolbar.setNavigationOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
onBackPressed();
}
});