title: Someone has animation skills in Android Studio?
body: <p>I´ve got one rotation animation to rotate one imageView around one fix position (the center). Now i want to know in every second where the imageView, which rotates, is. In other words the imageView wich rotates is a circle and i want to know the center point of this imageView during animation.</p>
  
  <p>This is my code for the rotation:</p>
  
  <pre><code>    WindowManager wm = getWindowManager();
      Display disp = wm.getDefaultDisplay();
      Point size = new Point();
      disp.getSize(size);
      screenWidth = size.x;
      ImageView circle = (ImageView) findViewById(R.id.circle);
      circle.setTranslationX(screenWidth/4);
      RotateAnimation rotation = new RotateAnimation(0, 359, 50f, 50f);
      rotation.setDuration(5000);
      rotation.setRepeatCount(-1);
      rotation.setInterpolator(new LinearInterpolator());
      circle.startAnimation(rotation);
  </code></pre>
  
  <p>If i do this, it doesn´t exactly know the location, something else... Could you explain?</p>
  
  <pre><code>    ImageView circle = (ImageView)findViewById(R.id.circle);
      circleX = circle.getX();
      circleY = circle.getY();
      int circleCenterX = (int) circleX + circle.getWidth() / 2;
      int circleCenterY = (int) circleY + circle.getHeight() / 2;
  </code></pre>