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

My HTML document is not linking to my CSS stylesheet properly -

php array slice every 2th rule -

node.js - Sending sockets to client side, Error: Converting circular structure to JSON -