title: How to Drawable Rotating around its Top Android
body: <p>I am getting strange results with the following code:</p>
  
  <pre><code>  Animation a = new RotateAnimation(0.0f, 360.0f,
                  Animation.ZORDER_TOP, 0.5f, Animation.ZORDER_TOP,
                  0.5f);
          a.setRepeatCount(-1);
          a.setDuration(1000);
          img.startAnimation(a);
  </code></pre>
  
  <p>Whats the right way to specify the axis point (top of the drawable)?</p>