Android of android Animation: Use of the interpolator attribute,

Source: Internet
Author: User

Android of android Animation: Use of the interpolator attribute,

Android: interpolator for android Animation

 

Interpolator is used to modify the animation effect, define the animation change rate, and enable the existing animation effects such as accelerated, decelerated, repeated, and bounced.

The AccelerateDecelerateInterpolator speed changes slowly between the animation start and end, accelerating

AccelerateInterpolator changes slowly at the beginning of the animation, and then starts acceleration.

AnticipateInterpolator starts and then throws backward.

AnticipateOvershootInterpolator returns the final value after a certain value is pushed forward.

When the BounceInterpolator animation ends

CycleInterpolator: specifies the number of times the animation is played cyclically, and the speed changes along the sine curve.

DecelerateInterpolator is fast and slow at the beginning of the animation

LinearInterpolator changes at constant rate

OvershootInterpolator throws a value forward and returns to its original position.

 

Original address: http://sijienet.com/bbs? Leibie = showinfo & id = 56

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.