android - Navigation drawer icon arrow instead of three lines -


i have created new project in eclipse navigation drawer , instead of 3 lines icon on top left of screen have arrow icon. have found nothing on stack on flow seems help. have tried change setdisplayhomeasupenabled , sethomebuttonenabled not here part of code (by way default code eclipse) 1 have , idea? enter image description here

i believe can try setting custom activity button hamburger button.

here code.

so can change programmatically using homeasupindicator() function added in android api level 18 , upper.

actionbar().sethomeasupindicator(r.drawable.ic_yourindicator); 

if use support library

getsupportactionbar().sethomeasupindicator(r.drawable.ic_yourindicator); 

Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -