Java tutorial
//package com.java2s; import android.animation.ObjectAnimator; import android.view.View; public class Main { public static ObjectAnimator rotationCloseToRight(View v) { return ObjectAnimator.ofFloat(v, "rotationY", 0, -90); } }