scale X PropertyValuesHolder - Android android.animation

Android examples for android.animation:PropertyValuesHolder

Description

scale X PropertyValuesHolder

Demo Code


//package com.java2s;
import android.animation.PropertyValuesHolder;

public class Main {
    public static final String SCALE_X = "scaleX";

    public static PropertyValuesHolder scaleX(float... values) {
        return PropertyValuesHolder.ofFloat(SCALE_X, values);
    }/*from   ww  w.  ja  v  a2 s.co m*/
}

Related Tutorials