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

Popular posts from this blog

php - URL redirection after form submitted without inherited params -

c# - ReportViewer control - axd url -

c# - must be a non-abstract type with a public parameterless constructor in redis -