Java tutorial
//package com.java2s; import android.animation.PropertyValuesHolder; public class Main { public static final String TRANSLATION = "translation"; public static PropertyValuesHolder translation(float... values) { return PropertyValuesHolder.ofFloat(TRANSLATION, values); } }