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.
i can't figure out how though. ideas?
thanks!
the solution problem use method:
setdrawerindicatorenabled(boolean enable)
inside actionbardrawertoggle
class.
Comments
Post a Comment