如果要让动画连续执行多次,可以使用cycleInterpolator加速器
设置方法:
<?xml version="1.0" encoding="utf-8"?>
<cycleInterpolator xmlns:android="http://schemas.android.com/apk/res/android" android:cycles="7" />
本文介绍了一种使用cycleInterpolator实现动画连续执行多次的方法。通过XML配置文件设置android:cycles属性值来控制循环次数。
如果要让动画连续执行多次,可以使用cycleInterpolator加速器
设置方法:
<?xml version="1.0" encoding="utf-8"?>
<cycleInterpolator xmlns:android="http://schemas.android.com/apk/res/android" android:cycles="7" />
1995

被折叠的 条评论
为什么被折叠?