Is it possible to get real time coordinates of an ImageView while it is in Translate animation?
I have an image of a bullet in an ImageView that does Translate animation. I need to show real time coordinates to show how far it is from target in real time. ImageView myimage = (ImageView)findViewById(R.id.myimage); Animation animation = new TranslateAnimation(100, 200, 300, 400); animation.setDuration(1000); myimage.startAnimation(animation); animation.setRepeatCount(Animation.INFINITE); Is it possible to get real time x and y coordinates of the image while it is doing TranslateAnimation ? And if its not possible using TranslateAnimation, is there any other way that gives real time