Java tutorial
//package com.java2s; //License from project: Apache License import android.animation.Animator; import android.animation.ObjectAnimator; import android.view.View; public class Main { public static Animator animScaleX(View view, float f1, float f2) { return ObjectAnimator.ofFloat(view, "scaleX", new float[] { f1, f2 }); } }