To color a B&W image, I use setColorFilter(color, Mode.MULTIPLY))

On Jun 20, 9:42 pm, Jake Colman <[email protected]> wrote:
> Given that I have an integer value representing a color with an included
> alpha (opacity) value, how do I set that value in a drawable in order
> to change its background?
>
> The Drawable setColorFilter() method takes a color value and a color
> filter.  This method sounds promising since it accepts a color value but
> But it's not clear to me how I should be setting the ColorFilter value.
>
> Can anyone help?
>
> TIA!
>
> --
> Jake Colman -- Android Tinkerer

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to