summaryrefslogtreecommitdiffstats
path: root/res/layout/tab.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/tab.xml')
-rwxr-xr-xres/layout/tab.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/res/layout/tab.xml b/res/layout/tab.xml
index ea9cd1a1b..e6ec97099 100755
--- a/res/layout/tab.xml
+++ b/res/layout/tab.xml
@@ -19,7 +19,8 @@
Currently, the only such element is the Geolocation permissions prompt.
-->
-<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
android:fitsSystemWindows="true"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
@@ -27,7 +28,8 @@
<!-- Wrapper layout for the WebView, which must be in a FrameLayout. -->
<FrameLayout android:id="@+id/webview_wrapper"
android:layout_width="fill_parent"
- android:layout_height="fill_parent" />
+ android:layout_height="0dip"
+ android:layout_weight="1" />
<!-- Geolocation permissions prompt -->
<com.android.browser.GeolocationPermissionsPrompt
@@ -35,4 +37,4 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
-</FrameLayout>
+</LinearLayout>