Android learner
Android learner

Reputation: 1871

How to remove Navigation drawer icon

How to remove pointed icon in Navigation Drawer, I just playing with Navigation Drawer, I just wanted to maintain only one icon. enter image description here

Upvotes: 13

Views: 15868

Answers (3)

none
none

Reputation: 176

I had same issue and I solved with adding this line in onCreate():

getActionBar().setDisplayHomeAsUpEnabled(false);

it will hide icon from navigation drawer.

Upvotes: 16

Krit
Krit

Reputation: 620

Is it a bit too late for answer?

1 way to remove the 3 stripes from the app is

replace the ic_drawer.png in every drawable folder with nothing (eg. with transparent icon)

You also can replace with any icon you want too.

Upvotes: 0

David
David

Reputation: 7105

Which implementation are you using for the Navigation Drawer?

Also, why do you want to remove it? You could keep the icon there and use an actual icon instead of one trying to show that it is a menu next to your "Home" text.

Upvotes: 0

Related Questions