How to change colors of a Drawable in Android?
<p>I'm working on an android application, and I have a drawable that I'm loading up from a source image.  On this image, I'd like to convert all of the white pixels to a different color, say blue, and then cache the resultant Drawable object so I can use it later.</p>

<p>So for example say I have a 20x20 PNG file that has a white circle in the middle, and that everything outside the circle is transparent.  What's the best way to turn that white circle blue and cache the results?  Does the answer change if I want to use that source image to create several new Drawables (say blue, red, green, orange, etc)?</p>

<p>I'm guessing that I'll want to use a ColorMatrix in some way, but I'm not sure how.</p>
