I need a piece of advice with setting opacity to a PictureDrawable
object since usual setAlpha()
is not implemented in PictureDrawable
.
My case is pretty similar to this one (I also get my drawables from SVGs in raw resources using a library). But I cannot use the solution because I would like to change the opacity dynamically (not by applying color filter at creation).
The context is animating multiple drawables when drawing on a SurfaceView
.
What could be a good workaround in this situation?
Thank you.