Setting Navigation Icon on Android ActionBar -


so i'm working on adding actionbarsherlock , navigation drawer project implemented custom (very poorly written) "action bar". instead of using fragments , backstack of activities navigation, activities show , hide different layouts. (that is, suppose in list mode , select button go edit screen. app hides list layout , shows layout.).

so i've added actionbar sherlock , navigation drawer activities. want able programmatically switch navigation icon 3 lines arrow when buttons pressed.

enter image description here

i can't figure out how though. ideas?

thanks!

the solution problem use method:

setdrawerindicatorenabled(boolean enable) 

inside actionbardrawertoggle class.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -