title: Android ICS 4.0 update breaking spinning wheel animation
body: <p>My application has a spinning wheel for the initial app load. Works fine upto android 3.0 honeycomb. But in ICS 4.0 its broken. Its a simple spinning wheel animation. In ICS this wheel is spinning around a point near its circumference  instead of the center point. This gives a visual impression like a wobbling wheel instead of a consistent spinning wheel. Here is the code</p>
  
  <p>Layout:</p>
  
  <pre><code>&lt;ImageView 
              android:id="@+id/spinner"
              android:layout_width="wrap_content" 
              android:layout_height="wrap_content"
              android:src="@drawable/spinner_white_48"
              android:layout_centerHorizontal="true"
              android:layout_alignParentTop="true"
          /&gt;
  </code></pre>
  
  <p>spinner_animation.xml</p>
  
  <pre><code>    &lt;rotate
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:interpolator="@android:anim/linear_interpolator"
      android:fromDegrees="0"
      android:toDegrees="360"
      android:pivotX="50%" 
      android:pivotY="50%"
      android:repeatCount="infinite"
      android:duration="1200"&gt;
  
      &lt;/rotate&gt;
  </code></pre>
  
  <p>Java File  (Activity)</p>
  
  <pre><code>Animation rotateSpinner = AnimationUtils.loadAnimation(this,R.anim.spinner_animation);
  rotateSpinner.setAnimationListener(new Animation.AnimationListener() {
              @Override
              public void onAnimationStart(Animation animation) { 
              } 
              @Override
              public void onAnimationRepeat(Animation animation) { 
              }
              @Override
              public void onAnimationEnd(Animation animation) {
              }
          }); 
   findViewById(R.id.spinner).startAnimation(rotateSpinner); 
  </code></pre>
  
  <hr>
  
  <h2>NOTE: The app wont even start on 4.0.2(Samsung Galaxy). But shows this distorted animation in 4.0.3 app app works fine(Nexus S).</h2>
  
  <p>Any help is appreciated. Thanks in advance</p>