Last active
December 25, 2016 08:43
-
-
Save rupertbates/5221687 to your computer and use it in GitHub Desktop.
Work out the maximum scroll extent of an Android WebView
This file contains hidden or 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