translation Y PropertyValuesHolder - Android android.animation

Android examples for android.animation:PropertyValuesHolder

Description

translation Y PropertyValuesHolder

Demo Code


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

public class Main {
    public static final String TRANSLATION_Y = "translationY";

    public static PropertyValuesHolder translationY(float... values) {
        return PropertyValuesHolder.ofFloat(TRANSLATION_Y, values);
    }//from w  ww  .j  ava  2s  .  c o m
}

Related Tutorials