title: Android: animating view in onClick()
body: <p>I have ImageView that I want to animate it whenever user clicks on it.</p>
  
  <p>So I ended up with this simple solution:</p>
  
  <pre><code>public void onClick(View v) {
              imageView.animate()
                      .rotationX(360).rotationY(360)
                      .setDuration(1000)
                      .setInterpolator(new LinearInterpolator());
          }
  </code></pre>
  
  <p>It works just perfect, <strong>but only FIRST TIME</strong> (first click plays animation, after that animation does not work at all).</p>
  
  <p>How can I fix that?</p>