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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:31:47+00:00 2026-05-27T07:31:47+00:00

If you perform a TranslateAnimation on a button then only the drawing moves but

  • 0

If you perform a TranslateAnimation on a button then only the drawing moves but not the real button, so you have to move the button yourself with an animationlistener.

Now you know what I already know and did and this works.

The problem lies in what the user sees. After the animation (so when I move the button) you see a short flickering in the screen. This is due to the drawing already being up, then I change the margin of the button so the drawing moves up even more, before it comes crashing down because of the fillAfter which is set to false

Any ideas on how to fix this? It may also be a whole other approach (without a translate-animation for example) but the effect needs to be the same (without the flicker ofcourse 😉 )

  • 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-05-27T07:31:48+00:00Added an answer on May 27, 2026 at 7:31 am

    There is piece of text of answer to my own question when faced the same problem

    “After placing the view to new position at the end of animation by using above method. And here still comes another problem of blinking which is due to the problem in android animation listener method which is that it gets called before actually animation ends and causes blinking effect, a tricky solution to it is by putting following line of code at first line of public void onAnimationEnd(Animation a) method”

    // in my case animation applied to notes_editor so the code will be 
      notes_editor.clearAnimation();
    

    for complete answer here is link

    EditText stucks after animation and alive back on scrolling……?

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

Sidebar

Related Questions

ISQL Perform Screen: I have a date column (format=mmm-dd-yyyy) used for storing Date Manufactured.
I want to perform an jquery request to php and then I want php
I perform custom drawing in my UIView subclass using: - (void)drawRect:(CGRect)rect; How can I
Can I perform 'merge' that updates only existing files in current branch? For example,
I have to perform some inserts into an Oracle DB. I have some dates
I have to perform two animations on an object simultaneously. For a number of
I perform action mvn eclipse:eclipse to convert from maven project to eclipse, but it
I perform a simple query like this, but loose all the objects that do
I am attempting to perform fastclust on a very large set of distances, but
How do I perform an IF...THEN in an SQL SELECT statement? For example: SELECT

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.