summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrace Kloba <klobag@google.com>2010-03-19 17:44:21 -0700
committerGrace Kloba <klobag@google.com>2010-03-19 17:44:21 -0700
commit80380ed1b6b1cd59b5da7474202963f87ec32ab8 (patch)
treeb6eb8a2e8fc729330b6f19b4f3fe9de8e96a7c39
parentaf69fdffc1cac6522b644ddcd647b75f1f0d71b3 (diff)
downloadpackages_apps_Browser-80380ed1b6b1cd59b5da7474202963f87ec32ab8.zip
packages_apps_Browser-80380ed1b6b1cd59b5da7474202963f87ec32ab8.tar.gz
packages_apps_Browser-80380ed1b6b1cd59b5da7474202963f87ec32ab8.tar.bz2
Set sub window to scrollbars_outside_overlay to
match the style we use for the main window. Fix http://b/issue?id=2531179
-rw-r--r--src/com/android/browser/Tab.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/browser/Tab.java b/src/com/android/browser/Tab.java
index 84bb018..8cbaa4d 100644
--- a/src/com/android/browser/Tab.java
+++ b/src/com/android/browser/Tab.java
@@ -1417,6 +1417,7 @@ class Tab {
mSubViewContainer = mInflateService.inflate(
R.layout.browser_subwindow, null);
mSubView = (WebView) mSubViewContainer.findViewById(R.id.webview);
+ mSubView.setScrollBarStyle(View.SCROLLBARS_OUTSIDE_OVERLAY);
// use trackball directly
mSubView.setMapTrackballToArrowKeys(false);
mSubView.setWebViewClient(new SubWindowClient(mWebViewClient));