【发布时间】:2017-02-19 16:16:10
【问题描述】:
<?xml version="1.0" encoding="utf-8"?>
<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"
android:propertyName="rotationX"
android:valueFrom="0"
android:valueTo="-360"
android:repeatCount="infinite">
</objectAnimator>
这是我的对象动画 xml
//Animating the NormalLayout
final ObjectAnimator anim4 = (ObjectAnimator) //Object animator
AnimatorInflater.loadAnimator(this, R.animator.rotate_four);
//And this is my java code
我想在其循环之间添加延迟,例如再次循环之间 3 秒。我试过动画听众onRepeat,onEnd 有点东西,但没有奏效。我希望循环之间有一些延迟。
我们将不胜感激。
【问题讨论】:
-
在提问前请参阅how to ask。只问你想要什么,不要闲聊!