Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 576
Android learner Avatar asked Nov 01 '13 12:11

Android learner


1 Answers

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

getActionBar().setDisplayHomeAsUpEnabled(false);

it will hide icon from navigation drawer.

like image 59
none Avatar answered Sep 21 '22 10:09

none