首页 > 代码库 > cycleInterpolator 循环加速器

cycleInterpolator 循环加速器

 CycleInterpolator


Repeats the animation for a specified number of cycles. The rate of change follows a sinusoidal pattern.

作用:如果要让动画连续执行多次,可以使用cycleInterpolator加速器

设置方法:

<?xml version="1.0" encoding="utf-8"?><cycleInterpolator xmlns:android="http://schemas.android.com/apk/res/android" android:cycles="7" />

 

cycleInterpolator 循环加速器