title: Apply one animation to multiple views at the same time
body: <p>So Id like to rotate a handful of views all at the same time, all using the same rotation specs.  The issue is that for some reason the rotation acts differently for the second element.  Apparently this has to do with the animation object actually changing state in between those two lines of code.  Obviously I could just create a seperate Animation object and apply it, but I feel like there is an easier way (I have about 15 views)</p>
  
  <p>Rotates only the first view correctly:</p>
  
  <pre><code>Animation rotateAnim = AnimationUtils.loadAnimation(this, R.anim.rotationtoportrait);
  target.startAnimation(rotateAnim);
  lightBtn.startAnimation(rotateAnim);
  </code></pre>
  
  <p>Rotates both correctly</p>
  
  <pre><code>Animation rotateAnim = AnimationUtils.loadAnimation(this, R.anim.rotationtoportrait);
  Animation rotateAnim2 = AnimationUtils.loadAnimation(this, R.anim.rotationtoportrait);
  target.startAnimation(rotateAnim);
  lightBtn.startAnimation(rotateAnim2);
  </code></pre>
  
  <p>XML:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;rotate
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:fromDegrees="-90"
      android:toDegrees="0"
      android:pivotX="50%"
      android:pivotY="50%"
      android:duration="500" android:fillAfter="true"&gt;
  </code></pre>
  
  <p>
  Anyone have any ideas? </p>