Android examples for android.animation:ObjectAnimator
rollover Y ObjectAnimator
//package com.java2s; import android.animation.AnimatorSet; import android.animation.ObjectAnimator; import android.view.View; public class Main { public static void rolloverY(View v) { ObjectAnimator yRollover = ObjectAnimator.ofFloat(v, "rotationY", 0f, 3600f);/*w w w. ja va 2s. c o m*/ AnimatorSet set = new AnimatorSet(); set.play(yRollover); yRollover.start(); } }