Use getViewHeightWithTitle() to honor the scrollbar
setting when computing the maxScrollY for fling. This is honored in the regular scroll in computeVerticalScrollExtent(). Fix http://b/issue?id=2251694
This commit is contained in:
@@ -4297,7 +4297,7 @@ public class WebView extends AbsoluteLayout
|
||||
|
||||
private int computeMaxScrollY() {
|
||||
int maxContentH = computeVerticalScrollRange() + getTitleHeight();
|
||||
return Math.max(maxContentH - getHeight(), getTitleHeight());
|
||||
return Math.max(maxContentH - getViewHeightWithTitle(), getTitleHeight());
|
||||
}
|
||||
|
||||
public void flingScroll(int vx, int vy) {
|
||||
|
||||
Reference in New Issue
Block a user