I'm using ActionBarSherlock and I would like to animate the home button to tell the user to click on it. I want to use three different images to show the animation.
How can I do this?
I'm using ActionBarSherlock and I would like to animate the home button to tell the user to click on it. I want to use three different images to show the animation.
How can I do this?
Get the action bar in you
onCreate
:Create and load an animation drawable which you defined in XML:
Set the drawable as the icon on the action bar:
Post a
Runnable
to start the animation when the main thread is clear:Don't forget to stop the animation at some point!