android - slightly move the home icon in actionbar while sliding menu pops up -


i'm reading google's official doc sliding menu/nav menu.

one of thing not implement move home icon on actionbar. please refer following screenshot - icon moved toward left while sliding menu popped up. how that?

slightly move icon

once have defined drawable when creating actionbardrawertoggle, make sure add following activity sliding effect take place:

@override protected void onpostcreate(bundle savedinstancestate) {     super.onpostcreate(savedinstancestate);      mdrawertoggle.syncstate(); } 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -