点赞动画
属性动画+差值器
ObjectAnimator translationX = ObjectAnimator.ofFloat(img, "translationX", 0, -100);
ObjectAnimator translationY = ObjectAnimator.ofFloat(img, "translationY", 0, -1250);
AnimatorSet animatorSet = new AnimatorSet();
animatorSet.play(translationX).with(translationY);
translationX.setInterpolator(new CycleInterpolator(2));
animatorSet.setDuration(2000);
animatorSet.start();
链接: [link](https://blog.csdn.net/xiaochuanding/article/details/73200149)