I
I
Igor2014-04-28 15:44:11
Android
Igor, 2014-04-28 15:44:11

How to remove app icon from ActionBar but keep NavigationDrawer icon?

How to remove app icon from ActionBar but keep NavigationDrawer icon and text title?
abda8f4237644174bd8a2a12e7d2a6a6.png
Tried:

getActionBar().setDisplayHomeAsUpEnabled(false);
getActionBar().setHomeButtonEnabled(false);
getActionBar().setIcon(null);

Does not help.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
bimeg, 2014-04-28
@asdf999

getActionBar().setIcon(new ColorDrawable(0));

K
Konstantin Dovnar, 2014-04-28
@SolidlSnake

Did n't this option work?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question