Android: LevelListDrawable isn't work?
<p>Trying to use LevelListDrawable for my ImageView...But it's not working...</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;level-list xmlns:android="http://schemas.android.com/apk/res/android" &gt;
&lt;item
    android:drawable="@drawable/icon1"
    android:maxLevel="0" /&gt;
&lt;item
    android:drawable="@drawable/icon2"
    android:maxLevel="1" /&gt;
&lt;item
    android:drawable="@drawable/icon3"
    android:maxLevel="2" /&gt;
&lt;/level-list&gt;
</code></pre>

<p>This thing i saved in drawable folder...and named as custom_image.xml...</p>

<pre><code> &lt;ImageView 
        android:id="@+id/someId" 
        android:layout_height="wrap_content" 
        android:layout_width="wrap_content"  
        android:layout_gravity="center"
        android:layout_centerHorizontal="true"
        android:layout_centerVertical="true"
        android:src = "@drawable/custom_image"/&gt;
</code></pre>

<p>But my images don't want change...All the time icon1 is shown....What I do wrong ? Thanks..</p>
