summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorTao Bai <michaelbai@google.com>2014-05-14 16:43:42 -0700
committerTao Bai <michaelbai@google.com>2014-05-15 08:31:21 -0700
commitffe54cb32e3a74e82c11bb0f2584588d71332964 (patch)
tree75c4f871df581fcc1dca0b9c3e1cf52d7e43a9ad /res/layout
parent440030f0992eec8da2b717566ad4895d9621041c (diff)
downloadpackages_apps_Browser-ffe54cb32e3a74e82c11bb0f2584588d71332964.zip
packages_apps_Browser-ffe54cb32e3a74e82c11bb0f2584588d71332964.tar.gz
packages_apps_Browser-ffe54cb32e3a74e82c11bb0f2584588d71332964.tar.bz2
Fix permission related issues
- Hide the 'remember' TextView. - Correctly display permission combination. Change-Id: I7242413519d827eada96a692c8a7db3e89eccae4
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/permissions_prompt.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/res/layout/permissions_prompt.xml b/res/layout/permissions_prompt.xml
index d18d796..5521064 100644
--- a/res/layout/permissions_prompt.xml
+++ b/res/layout/permissions_prompt.xml
@@ -23,7 +23,6 @@
android:background="@drawable/geolocation_permissions_prompt_background"
android:visibility="gone">
- <!-- 'google.com wants to know your location' -->
<TextView android:id="@+id/message"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -32,11 +31,13 @@
android:padding="6dip"
android:textAppearance="?android:attr/textAppearanceSmall" />
+ <!-- TODO: Implement remember -->
<CheckBox android:id="@+id/remember"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/message"
- android:layout_alignLeft="@id/message" />
+ android:layout_alignLeft="@id/message"
+ android:visibility="invisible" />
<TextView
android:paddingLeft="4dip"
android:text="@string/permissions_prompt_remember"
@@ -44,7 +45,8 @@
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:layout_alignBaseline="@id/remember"
- android:layout_toRightOf="@id/remember" />
+ android:layout_toRightOf="@id/remember"
+ android:visibility="invisible" />
<LinearLayout
android:layout_width="match_parent"