动画布局
<ImageView
android:id="@+id/img_icon"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_gravity="center"
android:src="@mipmap/ic_launcher"/>
Activity中
ObjectAnimator translationY = ObjectAnimator.ofFloat(img_icon, "translationY",img_icon.getTranslationY(), 800);
ObjectAnimator rotationX = ObjectAnimator.ofFloat(img_icon, "rotationX", 0, 360);
ObjectAnimator alpha = ObjectAnimator.ofFloat(img_icon, "alpha", 0, 1, 0, 1);
AnimatorSet animatorSet = new AnimatorSet();
animatorSet.play(translationY).with(rotationX).with(alpha);
animatorSet.setDuration(5000);
animatorSet.start();