ActionBar navbar icon on the right side

I want to show the action bar navigation icon on the right side of the ActionBar [instead of the left left side].

Also I need to have the same slide in the Navigation Drawer icon animation as in the Gmail and Google+ app.

Can I easily achieve this animation from the right side.

Any help or suggestion is greatly appreciated.

Thanks in advance!

+3


source to share


1 answer


This is how I applied the right navigation drawer . You just need to open and close the Gravity based drawer. In this example they are using Gravity.RIGHT

, I am using Gravity.END

. I'm not sure which of them is right or wrong. Hope this helps.



This link for Animating an ActionBar has some useful information and should give a good basis for animating the navbox icon.

+2


source







All Articles