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
Post a Comment