How to change color of CompoundDrawable on Button?
<p>I am trying to figure out how to change the color of icon which is in drawable left of button. </p>

<p>Below is the XML code I am using :</p>

<pre><code>  &lt;Button
        android:layout_width="wrap_content"
        android:layout_height="20dp"
        android:layout_toRightOf="@+id/student_images"
        android:drawableLeft="@mipmap/ic_email_black_18dp"
        android:text="   myemail@gmail.com  "
        android:layout_below="@+id/email"
        android:background="#00000000"
        android:layout_marginBottom="20dp"
        android:fontFamily="sans-serif"
        android:textColor="@color/gray_text_color"
        /&gt;
</code></pre>

<p>I have tried the <code>android:tint</code> but color of icon is not changing. I am stuck here. </p>