android - How to nullify setColorFilter method? -
hey have image make black when activity starts using code img.setcolorfilter(new porterduffcolorfilter(color.rgb(0, 0, 0), porterduff.mode.src_atop)); want change normal when user clicks on button. idea on how nullify method? thanks
you can remove colorfilter nulling it
setcolorfilter(null); specify optional color filter drawable. pass null remove existing color filter.
parameters cf color filter apply, or null remove existing color filter
Comments
Post a Comment