Forked from rupertbates/WebviewArticlePresenter.java
Created
September 12, 2016 14:45
-
-
Save rubenpla-develop/84052db89c070c5fa08df89fbf291d61 to your computer and use it in GitHub Desktop.
Work out the maximum scroll extent of an Android WebView
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int maxScrollExtent = (int) ((mOverlayTop.getContentHeight() * mOverlayTop.getScale()) - mOverlayTop.getHeight()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment