get View Y - Android User Interface

Android examples for User Interface:View Position

Description

get View Y

Demo Code


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

public class Main {
    public static float getY(View view) {
        return view.getY();
    }//w  w  w .j a  v a  2s  . co  m
}

Related Tutorials