动画的套路
private void doLogoAnimation() {
ObjectAnimator animator = ObjectAnimator.ofFloat(home_iv_logo,
"rotationY", 0, 90, 360, 180, 270);// 沿着y方向转
animator.setDuration(3000);// 动画时长
animator.setRepeatCount(ObjectAnimator.INFINITE);// 重复
animator.setRepeatMode(ObjectAnimator.REVERSE);// 重复模式
animator.start();
}