Best way to tint my buttons?
<p>I'm currently developing an android app where I use transparent png's as buttons for the user interface.</p>

<p>The buttons look kinda like this:</p>

<p><img src="http://i.stack.imgur.com/mGHl7.png" alt="enter image description here"></p>

<p>When the user presses the button I want to automatically tint the non-transparent pixels in the image to a darker color.</p>

<p>Currently I use an xml selector with different drawables for each state. This obviously doesn't scale well since I need to make several versions of each image in photoshop.</p>

<p>Any solutions? I heard that you can use the setColorFilter method on ImageView's to achieve this, but a full explanation would be great!</p>

<p>Thanks!</p>
