is WebView To Bottom - Android User Interface

Android examples for User Interface:WebView

Description

is WebView To Bottom

Demo Code

import android.webkit.WebView;

public class Main {
  public static boolean isWebViewToBottom(WebView webView) {
    return webView != null
        && webView.getContentHeight() * webView.getScale() == (webView
            .getScrollY() + webView.getMeasuredHeight());
  }/*  w  ww . j  av  a2  s  .c  o  m*/
}

Related Tutorials