Reputation: 3809
Somehow it does not work to hide the activity icon in my actionbar. I tried:
ActionBar ab = activity.getActionBar();
ab.setDisplayHomeAsUpEnabled(false);
ab.setDisplayUseLogoEnabled(false);
where is the bug?
Upvotes: 1
Views: 3601
Reputation: 12745
Set the display option to turn off DISPLAY_SHOW_HOME.
getActionBar().setDisplayShowHomeEnabled(false);
Upvotes: 17