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 8133959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T09:49:53+00:00 2026-06-06T09:49:53+00:00

How to animate different set of objects in different time duration one after the

  • 0

How to animate different set of objects in different time duration one after the other?

JAVA Code:

ImageButton home = (ImageButton)findViewById(R.id.homeicon);
ImageButton settings = (ImageButton)findViewById(R.id.settingsicon); 

Animation alpha_anim = AnimationUtils.loadAnimation(this, R.anim.alpha);
home.startAnimation(alpha_anim);
settings.startAnimation(alpha_anim);

Animation File:

<?xml version="1.0" encoding="utf-8"?>
<alpha
xmlns:android="http://schemas.android.com/apk/res/android"
android:fromAlpha="0.0"
android:toAlpha="0.9"
android:duration="8000" /> 

can anyone help me?

  • 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-06T09:49:57+00:00Added an answer on June 6, 2026 at 9:49 am

    I had one screen where I need to animate first layout and as soon as its finish, I wanted to start animation on second layout.

    So I had used handler at that time to do so, like this

    Handler handler = new Handler(); // create Handler object
    handler.post(homeRun);
    Runnable homeRun = new Runnable() { // create runnable to start home anim
        public void run() {
            home.startAnimation(alpha_anim);
            handler.postDelayed(settingsRun, 1000); // start setting anim after the time the home takes to animate
        }
    };
    
    Runnable setingsRun = new Runnable() { // runnable to start settings anim
        public void run() {
            settings.startAnimation(alpha_anim);
        }
    };
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is my first time using IB, but after spending a one or two
i need to animate 10 sets of images ,(10 arrays of images) one after
I am using jQuery to animate the background colors of 3 different divs, repeated
Why would I be getting a different instance of HistoryViewController than the one I
I am using following code to animate in Jquery. I want step2 to occur
I have a set of pages acting as a slideshow where different elements are
I'm trying to animate a canvas on three different layers on the onmousedown and
I need to synchronize a path animation on two different layers (one is used
I have an animation that is set to play after a timeout. This animation
I have set up some code so that when two separate buttons are tapped

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.