android - Move ImageView with animation -



android - Move ImageView with animation -

i'm trying move imageview code:

img.animate().translationy(110).setduration(1500);

but if seek move 1 time again later like:

img.animate().translationy(-110).setduration(1500);

the imageview moves used before moved in first place. expect homecoming it's original position. missing here?

try this

img.animate().translationy(0).setduration(1500);

android animation android-studio imageview position

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -