ObjectAnimator translation = ObjectAnimator.ofFloat(Tv_Text, "translationX", 0f, 500f,0f,200f,100f,600f,0f);
ObjectAnimator rotation = ObjectAnimator.ofFloat(Tv_Text, "rotation", 0f, -360f);
ObjectAnimator alpha = ObjectAnimator.ofFloat(Tv_Text, "alpha", 0f,1f);
ObjectAnimator scaleX = ObjectAnimator.ofFloat(Tv_Text, "scaleX", 1f, 3f ,1f);
AnimatorSet animatorSet = new AnimatorSet();
//通过各种方法吧单个动画组成一块
animatorSet.play(rotation).with(alpha).before(scaleX).after(translation);
translation.setRepeatCount(-1);
translation.setRepeatCount(RESULT_OK);
animatorSet.play(translation);
animatorSet.setDuration(3000);
animatorSet.start();