Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8303277
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T17:29:19+00:00 2026-06-08T17:29:19+00:00

I have to code animated menu buttons for my Android app. It will be

  • 0

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

simple mockup of menu:

enter image description here

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 😉

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T17:29:20+00:00Added an answer on June 8, 2026 at 5:29 pm

    Let me suppose that you registered those buttons in your activity xml file like following:

    <Button
        ...
        android:onClick="onClickButton1"
        android:text="@string/button1_text" />
    
    <Button
        ...
        android:onClick="onClickButton2"
        android:text="@string/button2_text" />
    
    ...
    

    Then, add following methods to your activity class. You can describe what will happen on the click of each buttons.

    public class MyActivity extends Activity {   
        ...
    
        public void onClickButton1 (View view) {
           // insert codes here to show animation of button1
        }
    
        public void onClickButton2 (View view) {
           // insert codes here to show animation of button2
        }
    }
    

    For animation example, check this link : I need simple Android animation examples

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have following code in my application. [self.navigationController pushViewController:x animated:YES]; It will push a
I have pretty simple jquery code : $(document).ready(function(){ $('img.marqFl').on({ mouseenter: function() { $(this).animate({height: 300},
I have code like this in my view model: function ChatListViewModel(chats) { var self
I have this code in my iOS app: - (IBAction)cameraButtonPressed:(id)sender { if ([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera]
I'm attempting to implement a slide-in menu like in the facebook app. I have
I have some code which works nicely and acts like a menu appearing when
I have a javascript animation code - function animate(position) { .... .... if(position++ <
I mean I have this code: <script> $(document).ready( function() { $('html, body').animate({ scrollTop: $(.error).offset().top
I have code that looks more or less like the code below but it
Ok I have a inline list of buttons. <ul id=nav> <li class=home><a href=#>Menu Item</a></li>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.