Android mutate() changes appearance of LayerDrawable
I have a LayerDrawable defined in xml that I load from disk and reuse in a few parts of my application. To prevent an instance of my LayerDrawable from affecting other instances I call mutate like defined here. However calling mu开发者_如何学JAVAtate is also changing the appearance of the drawing. I can duplicate on tablets, phones, and the simulator. Anyone have experience with this?
精彩评论