title: How to programmatically change an image button icon's color?
body: <p>I have an imageButton with an icon:</p>
  
  <pre><code>        &lt;ImageButton
              android:src="@drawable/ic_action_favorite"
              android:layout_width="50dp"
              android:layout_height="50dp"
              android:id="@+id/discussionActionBtn"/&gt;
  </code></pre>
  
  <p>Currently, the icon's default color is gray.
  Is there some way to programmatically make the icon appear in another color ?</p>
  
  <p>The best I can think of so far is to create another asset with the desired color, but I was wondering if there was another way (maybe using filters ?)</p>