小球

ObjectAnimator anim3 = ObjectAnimator.ofFloat(mBlueBall,
"translationY", -500f, 0f);

ObjectAnimator anim4 = ObjectAnimator.ofFloat(mBlueBall,
"translationY", 0f, -500f);

/**
* anim1,anim2,anim3同时执行
* anim4接着执行
*/
AnimatorSet animSet = new AnimatorSet();

animSet.play(anim4).after(anim3);
animSet.setDuration(1000);
animSet.start();
原文地址:https://www.cnblogs.com/yudada/p/7810152.html