How to set an image for an inactive button
<p>I want to set a specific image when my button is not clickable. This button image is already selected according focused and pressed state thanks to this xml:</p>

<pre><code>  &lt;?xml version="1.0" encoding="utf-8"?&gt;

&lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;

    &lt;item android:clickable="false"
     android:drawable="@drawable/cmb_bouton_acces_inactive" /&gt;

    &lt;item android:state_focused="true" android:state_pressed="true"
     android:drawable="@drawable/cmb_bouton_acces_hover" /&gt;

    &lt;item android:state_focused="false" android:state_pressed="true"
     android:drawable="@drawable/cmb_bouton_acces_hover" /&gt;

    &lt;item android:drawable="@drawable/cmb_bouton_acces" /&gt;

&lt;/selector&gt;
</code></pre>

<p>But I do not know how to define a new image for the button when it is not clickable.</p>

<p>Any idea ?</p>

<p>Regards,
Quentin</p>
