android - frame animation in value/arrays.xml
<p>i have simple anim </p>

<p>simple_anim.xml</p>

<pre><code>&lt;animation-list xmlns:android=”http://schemas.android.com/apk/res/android” id=”selected” android:oneshot=”false”&gt;
&lt;item android:drawable=”@drawable/frame1″ android:duration=”50″ /&gt;
&lt;item android:drawable=”@drawable/frame2″ android:duration=”50″ /&gt;
&lt;/animation-list&gt;
</code></pre>

<p>it is possible to create frame animation in value/arrays.xml</p>

<pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;resources xmlns:android="http://schemas.android.com/apk/res/android"&gt;
    &lt;array name="entries"&gt;
        &lt;item&gt;@drawable/simple_anim&lt;/item&gt;      
        &lt;item&gt;@drawable/image2&lt;/item&gt;       
        &lt;item&gt;@drawable/image3&lt;/item&gt;       
        &lt;item&gt;@drawable/image4&lt;/item&gt;
        &lt;item&gt;@drawable/image5&lt;/item&gt;       
    &lt;/array&gt;    
&lt;/resources&gt;
</code></pre>
