I have to code animated menu buttons for my Android app. It will be look something like this:
simple mockup of menu:

Animation looks like some kind of cube rotation – one spin of cube, something like that..
I’m looking simplest way to program animation for menu buttons (for example “button1”). By on click it have to do animation first, then show content of submenu. “button1” have to be animated by four *.png file:
button1.png
button1_step1.png
button1_step2.png
button1_step3.png
I tried to find some example in Android SDK, but I hadn’t found it.
Anyone know a siple way to code this? Thanks in advance 😉
Let me suppose that you registered those buttons in your activity xml file like following:
Then, add following methods to your activity class. You can describe what will happen on the click of each buttons.
For animation example, check this link : I need simple Android animation examples