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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T17:17:13+00:00 2026-06-03T17:17:13+00:00

I have this strange issue. I have an image which I rotate about a

  • 0

I have this strange issue. I have an image which I rotate about a fixed point using rotateAnimation.

I have handled the click event when the user clicks the images as shown below:

@Override
public void onClick(View v) {
    switch (v.getId()) {
    case R.id.imageView1:
        finish();
        Intent i = new Intent(this, Next.class);
        startActivity(i);
        break;
        }
}

The problem I face is that, after I rotate the image, the click event is not triggered when I click the image, but is triggered when I click the position where the image was at first.

I know I must be missing something basic here but I can’t figure it out.

  • 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-03T17:17:17+00:00Added an answer on June 3, 2026 at 5:17 pm

    Animations do not cause the animating View to change position or size. They only show such transformations without affecting any of the properties of the View. Hence the behavior seen by you.

    In case you want to actually move/resize the View object, implement AnimationListener and perform the operation on onAnimationEnd.

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

Sidebar

Related Questions

I have this strange issue with my web app. You see, I'm using jQuery
I have a strange issue with jQuery's hover, addClass $(document).ready(function(){ $('#selectable li').hover( function(){ $(this).addClass('selecting',
Why this two functions have the strange behaviour of when I click on thead,
This is a really strange issue. When using WebClient.DownloadFile in Debug configuration, it appears
I have this strange issue going on with my CSS on my site, and
I'm having this strange issue with my ItemsControl grouping. I have the following setup:
I have recently ran into this strange issue, I was trying to reference parent
Ok so this is kind of a strange issue, but I have got two
I have never seen this issue before, its very strange. Just wondering if anyone
I have this strange issue. When I run application from Xcode (even on device),

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.