Java tutorial
//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); } }