get View X - Android User Interface

Android examples for User Interface:View Position

Description

get View X

Demo Code


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

public class Main {
    public static float getX(View view) {
        return view.getX();
    }//from w  w w .  j  a va  2  s . c om
}

Related Tutorials