am bf5b632a: Use getViewHeightWithTitle() to honor the scrollbar setting when computing the maxScrollY for fling. This is honored in the regular scroll in computeVerticalScrollExtent().
Merge commit 'bf5b632abbc2f4b96323ff428be585fd2a3d381c' into eclair-mr2 * commit 'bf5b632abbc2f4b96323ff428be585fd2a3d381c': Use getViewHeightWithTitle() to honor the scrollbar
This commit is contained in:
@@ -4445,7 +4445,7 @@ public class WebView extends AbsoluteLayout
|
|||||||
|
|
||||||
private int computeMaxScrollY() {
|
private int computeMaxScrollY() {
|
||||||
int maxContentH = computeVerticalScrollRange() + getTitleHeight();
|
int maxContentH = computeVerticalScrollRange() + getTitleHeight();
|
||||||
return Math.max(maxContentH - getHeight(), getTitleHeight());
|
return Math.max(maxContentH - getViewHeightWithTitle(), getTitleHeight());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void flingScroll(int vx, int vy) {
|
public void flingScroll(int vx, int vy) {
|
||||||
|
|||||||
Reference in New Issue
Block a user