title: Android Frame by Frame Animation problem on elements in a CursorAdapter
body: <p>I am having trouble applying an animation to a View. I am trying to load the animation from inside the constructor of a CursorAdapter, so I can set it later assign it to certain children in the list.</p>
  
  <p>In the constructor I have :</p>
  
  <pre><code>shineAnimation = AnimationUtils.loadAnimation(ctx, R.anim.news_list_item_shine);
  </code></pre>
  
  <p>the animation is in my res/anim dir </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;animation-list xmlns:android="http://schemas.android.com/apk/res/android" android:oneshot="true"&gt;
      &lt;item android:drawable="@drawable/shine1" android:duration="200" /&gt;
      &lt;item android:drawable="@drawable/shine2" android:duration="200" /&gt;
      &lt;item android:drawable="@drawable/shine3" android:duration="200" /&gt;
      &lt;item android:drawable="@drawable/shine4" android:duration="200" /&gt;
      &lt;item android:drawable="@drawable/shine5" android:duration="200" /&gt;
  &lt;/animation-list&gt;
  </code></pre>
  
  <p>I'm getting an exception :
      Unknown animation name: animation-list</p>
  
  <p>Help would be much appreciated</p>
  
  <p>Thanks
  S</p>