get View Translation X - Android User Interface

Android examples for User Interface:View Translate

Description

get View Translation X

Demo Code


//package com.java2s;
import android.view.View;

public class Main {
    public static float getTranslationX(View view) {
        return view.getTranslationX();
    }//from www . j  a v  a 2  s.  com
}

Related Tutorials