Background Tint
<p>How can i use background tint for <code>ImageButton</code> or <code>AppCompatImageButton</code>? Please answer for both XML and Java.
I have find a java solution that says i most use <code>setBackgroundTintList()</code>, but when i use it, the background always shown blue and don`t change on click.
This is what i have tried:</p>

<pre><code>mButtonBold.setSupportBackgroundTintList(new ColorStateList(
            new int[][]{EMPTY_STATE_SET, PRESSED_ENABLED_STATE_SET},
            new int[]{Color.BLUE, Color.GREEN}
))
</code></pre>