title: How to use selectors when background attribute is used for icon?
body: <p>As you can see, the background attribute is used for a icon, so I cant use drawable selectors on that attribute. I have also tried to use a selector inside a style.xml and use the style attribute to call it, but without any succses.</p>
  
  <p>What can I do?</p>
  
  <pre><code>&lt;ImageButton
  
              android:id="@+id/blackButton"
              android:background="@drawable/black_icon"
              android:layout_width="55dp"
              android:layout_height="55dp"
              android:layout_centerHorizontal="true"
              android:onClick="onButtonClicked"
              android:layout_marginLeft="10dp"
              android:layout_marginRight="10dp" /&gt;
  </code></pre>