I have set the homeAsUpIndicator
to
<item name="homeAsUpIndicator">@drawable/ic_menu_icon</item>
globally in a stylesheet. Every Activity has the same icon now.
How can I change the icon in the ActionBar to be the left arrow (<-) again for one activity despite having it set globally in the stylesheet?
I tried to access android.R.drawable.ic_menu_back
but I cannot access it (it seems it is private):
getSupportActionBar().setHomeButtonEnabled(false); // does not work
getSupportActionBar().setDisplayShowHomeEnabled(false); // does not work
// does not compile: getSupportActionBar().setHomeAsUpIndicator(android.R.drawable.ic_menu_back);