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

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -