Animate(slide-in/slide-out) the home indicator(mini-hamburger) icon

1k views Asked by At

Currently I've been given the opportunity to develop an android app. I've gotten very far already but there's one detail I can not figure out.

I'm trying to figure out how I can "slide in" and "slide out", or whatever the correct term is, the home indicator icon (mini-hamburger). Do you guys know how to do this?

I've been trying to figure it out but I have been unable to find it.

See sample below:

Home indicator icon enabled

enter image description here

1

There are 1 answers

6
CommonsWare On

The "mini-hamburger" indeed. Currently I've set the indicator with the actionbartoggle class: _drawerToggle = new MyActionBarDrawerToggle(this, _drawer, Resource.Drawable.ic_drawer_dark, Resource.String.DrawerOpen, Resource.String.DrawerClose);

Assuming that is based off of ActionBarDrawerToggle, see if you have an equivalent of the setDrawerIndicatorEnabled() method.