Android examples for android.animation:PropertyValuesHolder
translation X PropertyValuesHolder
//package com.java2s; import android.animation.PropertyValuesHolder; public class Main { public static final String TRANSLATION_X = "translationX"; public static PropertyValuesHolder translationX(float... values) { return PropertyValuesHolder.ofFloat(TRANSLATION_X, values); }/*from w ww . j a va 2 s . c o m*/ }