Remove Action Bar icon but keep the UP button
Posted
by
Gaurav
on Stack Overflow
See other posts from Stack Overflow
or by Gaurav
Published on 2012-07-25T03:39:20Z
Indexed on
2012/11/29
11:06 UTC
Read the original article
Hit count: 249
I am developing an application which runs on both honeycomb and ice cream sandwich. I want my action bar not to have the icon but keep the "up/home" button.
I used:
getActionBar().setDisplayOptions(0, ActionBar.DISPLAY_SHOW_HOME);
This removes the action bar icon but keeps the "up" button on ice cream sandwich. But on honeycomb, it removes the "up" button as well.
Is there a way on honeycomb that allows me to keep the "up" button but get rid of the icon?
© Stack Overflow or respective owner