get View Scroll Y - Android User Interface

Android examples for User Interface:ScrollView

Description

get View Scroll Y

Demo Code


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

public class Main {
    public static float getScrollY(View view) {
        return view.getScrollY();
    }//from   ww w  . j  a  v  a  2  s.  c  o m
}

Related Tutorials