I found some solutions for adding an animated item to a action bar using the ActionBar Sherlock (Stackoverflow Link)
Are there any examples when just using the default Action Bar?
I tried the approach given in the link, it does create an animation for the button. THe problem is that the button is left aligned inside the action bar after the actionVIew is set.
I had to do that for a project. You just subclass ImageView and use that class as your Action View for the menu item.
Here’s how you specify the Action View from your menu XML.