programmatically removing a drawable Tilemode: android:tileMode="disabled" -
i need programmatically disable tilemode
of drawable may have arbitrarily set tilemode.clamp
, tilemode.mirror
or tilemode.repeat
.
in xml, can use android:tilemode="disabled"
, value=-1, achieve this.
however, programmatically when calling bitmapdrawable.settilemodexy
need use shader.tilemode
enum member, has clamp
, mirror
or repeat
disabled
absent.
how can this?
Comments
Post a Comment