Click here to Skip to main content
15,888,286 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

i am trying to capture the click event on an image after it has been rotated about its point.
the rotation is dynamic and hence i m not able to reposition the layout to capture the click event
Java
ServerImage = (ImageView) findViewById(R.id.imageView1);
rotateAnim = new RotateAnimation(angle, rotation-50, 200, 100);
rotateAnim.setFillAfter(true);
rotateAnim.setDuration(1000);
ServerImage.setAnimation(rotateAnim);
ServerImage.startAnimation(rotateAnim);


can anybody help me tryin to get the coordinates of the image after animation or to reposition the layout after animation.

Thanks in advance
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900