diff options
| author | Steve Block <steveblock@google.com> | 2009-09-29 13:14:41 +0100 |
|---|---|---|
| committer | Steve Block <steveblock@google.com> | 2009-09-29 19:10:44 +0100 |
| commit | 8844d19f6879802ba02463df6cf2b8bfbaf68b0a (patch) | |
| tree | 89040a6aaefe6acabc61ee36b231b3ccff6b6f11 /res/layout/geolocation_permissions_prompt.xml | |
| parent | c46f828c17e8f171aa62910cba7ba6af6f7302ae (diff) | |
| download | packages_apps_Browser-8844d19f6879802ba02463df6cf2b8bfbaf68b0a.tar.gz packages_apps_Browser-8844d19f6879802ba02463df6cf2b8bfbaf68b0a.tar.bz2 packages_apps_Browser-8844d19f6879802ba02463df6cf2b8bfbaf68b0a.zip | |
Makes Geolocation permissions prompt pretty.
Change-Id: I237fc0845de2297babc7da448a2199c5344e2e83
Diffstat (limited to 'res/layout/geolocation_permissions_prompt.xml')
| -rwxr-xr-x | res/layout/geolocation_permissions_prompt.xml | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/res/layout/geolocation_permissions_prompt.xml b/res/layout/geolocation_permissions_prompt.xml index 404637bad..3d8e23053 100755 --- a/res/layout/geolocation_permissions_prompt.xml +++ b/res/layout/geolocation_permissions_prompt.xml @@ -14,7 +14,6 @@ limitations under the License. This is the layout for the Geolocation permissions prompt. - FIXME: Make this looks pretty. --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" @@ -28,6 +27,7 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@color/geolocation_permissions_prompt_background" + android:padding="6dip" android:visibility="gone"> <!-- 'google.com wants to know your location' --> @@ -35,7 +35,15 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:textSize="14dip" - android:textColor="@color/white" /> + android:textColor="@color/black" /> + + <!-- Checkbox --> + <CheckBox android:id="@+id/remember" + android:text="@string/geolocation_permissions_prompt_remember" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textSize="14dip" + android:textColor="@color/black" /> <!-- Buttons --> <LinearLayout @@ -43,21 +51,15 @@ android:layout_height="wrap_content"> <Button android:id="@+id/share_button" android:text="@string/geolocation_permissions_prompt_share" - android:layout_width="wrap_content" + android:layout_weight="1" + android:layout_width="0dip" android:layout_height="wrap_content" /> <Button android:id="@+id/dont_share_button" android:text="@string/geolocation_permissions_prompt_dont_share" - android:layout_width="wrap_content" + android:layout_weight="1" + android:layout_width="0dip" android:layout_height="wrap_content" /> </LinearLayout> - <CheckBox android:id="@+id/remember" - android:text="@string/geolocation_permissions_prompt_remember" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:drawablePadding="10dip" - android:textSize="16dip" - android:textColor="@color/white" /> - </LinearLayout> </LinearLayout> |
