nrofis
nrofis

Reputation: 9796

Android - Drawable filter color on alpha channel

I got some Drawables from Android resources and I want to change their colors and alpha channel to solid (The images have opacity). I tried to use setFilterColor but it just changes the color and the alpha channel is still half transparent. How can I change the opacity too?

Upvotes: 0

Views: 694

Answers (1)

nrofis
nrofis

Reputation: 9796

I found the class ColorMatrixColorFilter

Upvotes: 0

Related Questions