Skip to content Skip to sidebar Skip to footer

Image Click After Animation

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:

Solution 1:

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.

Post a Comment for "Image Click After Animation"