简体   繁体   中英

How can i make a smooth Translate animation of image or ImageView?

I am trying to make a translate animation of Image-view.
I need to translate it over the Y axes with high refresh speed 50 - 100 ms with different directions,
but its not sliding smooth its just jumps - and i need the image to slide smooth.

I tried lots of things but cant make it work. If someone worked with animations or know how to solve my problem please give me a direction, because i am just stacked.

You can do this by increasing and decreasing duration.There is no other way as per i know.It will look bad on emulator but it will look nice on device if you will check.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM