summaryrefslogtreecommitdiffstats
path: root/res/layout/tab.xml
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2009-09-29 13:14:41 +0100
committerSteve Block <steveblock@google.com>2009-09-29 19:10:44 +0100
commit8844d19f6879802ba02463df6cf2b8bfbaf68b0a (patch)
tree89040a6aaefe6acabc61ee36b231b3ccff6b6f11 /res/layout/tab.xml
parentc46f828c17e8f171aa62910cba7ba6af6f7302ae (diff)
downloadpackages_apps_browser-8844d19f6879802ba02463df6cf2b8bfbaf68b0a.zip
packages_apps_browser-8844d19f6879802ba02463df6cf2b8bfbaf68b0a.tar.gz
packages_apps_browser-8844d19f6879802ba02463df6cf2b8bfbaf68b0a.tar.bz2
Makes Geolocation permissions prompt pretty.
Change-Id: I237fc0845de2297babc7da448a2199c5344e2e83
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 ea9cd1a..e6ec970 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>