Android examples for User Interface:WebView
is ScrollView Or WebView To Top
import android.view.View; public class Main { public static boolean isScrollViewOrWebViewToTop(View view) { return view != null && view.getScrollY() == 0; }/*from ww w . j ava 2 s . c o m*/ }