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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T02:32:56+00:00 2026-06-01T02:32:56+00:00

This is my situation. I have two activities: ONE and TWO. In TWO activity

  • 0

This is my situation. I have two activities: ONE and TWO. In TWO activity is button and picture. This picture is animated. Animation is during 5 seconds. When I start activity TWO from Activity ONE animation is started and after 5 seconds is stopped. I want that this button on activity TWO is disabled until animation ends. When animation ends then button get enabled and I can click on it. How I can do this?

Edit1: Can I check if my animation is over?

  • 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-01T02:32:57+00:00Added an answer on June 1, 2026 at 2:32 am

    Try like this..put this in oncreate

    button.setEnabled(False);
    imageview.postDelayed(new Runnable() {<--imageview is your image
    @Override
    public void run() {
        button.setEnabled(True);
    }
    }, 5000);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

this is my situation: I have two org.w3c.dom.Document created from two xml files. What
This is situation I have: I have two entities with one-to-many relationship mapped like
This is the situation: I have two tables where the one references the other
In this situation I have two models, Comment and Score. The relationship is defined
During coding I frequently encounter this situation: I have several objects ( ConcreteType1 ,
This is my situation: I have two languages, namely English and German. However, I
I have this problem: have two entyties with one to one relationship, boot of
I have this situation (two classes with two different header files): b.h #include a.h
Here's the situation: I have two DateTimePicker controls for the start date and end
I have this situation: { float foo[10]; for (int i = 0; i <

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.