Java tutorial
//package com.java2s; import android.animation.ObjectAnimator; import android.view.View; public class Main { public static void scaleY(View view, float start, float end, int duration) { ObjectAnimator.ofFloat(view, "scaleY", start, end).setDuration(duration).start(); } }