android - Ask about TranslateAnimation -
i'm using translateanimation(float fromxdelta, float toxdelta, float fromydelta, float toydelta) fromxdelta, toxdelta, fromydelta, toydelta pixel. how change pixel percentage (i don't want use animation wiht xml file)?
you need use translateanimation constructor takes typing of input.
animation.relative_to_self move animation in reference 1.0f equals 100% of length/width of object translated.
Comments
Post a Comment