I'm developing an app with an account system linked to Firebase.
Well, the sign up process takes a few seconds and I wish to implement a rotating loading icon like this one in the action bar:
The only problem is that I don't know how to make the menu item rotate and how to disable it's onClick feature.