summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2011-07-08 13:00:21 +0100
committerBen Murdoch <benm@google.com>2011-07-08 13:00:21 +0100
commitb7e6f94a4728e284764a45b25985a05e0f5c6273 (patch)
tree814a1558c059ee612e8fc4e3ae8e0ed5baf33ad8 /res
parentfbc579af4749526882c764cd176a167205306fe9 (diff)
downloadpackages_apps_Browser-b7e6f94a4728e284764a45b25985a05e0f5c6273.zip
packages_apps_Browser-b7e6f94a4728e284764a45b25985a05e0f5c6273.tar.gz
packages_apps_Browser-b7e6f94a4728e284764a45b25985a05e0f5c6273.tar.bz2
Update UI for "Setup Auto-fill" dialog.
Update the UI for the dialog shown that prompts the user to set up the form auto-fill feature. Adds a title and uses the same padding as the framework alert. Bug: 4671245 Change-Id: I7b4509d971cd36d6116b4f039f06a13140635c67
Diffstat (limited to 'res')
-rw-r--r--res/layout/setup_autofill_dialog.xml7
-rw-r--r--res/values/strings.xml2
2 files changed, 7 insertions, 2 deletions
diff --git a/res/layout/setup_autofill_dialog.xml b/res/layout/setup_autofill_dialog.xml
index 084ae7a..499c2a6 100644
--- a/res/layout/setup_autofill_dialog.xml
+++ b/res/layout/setup_autofill_dialog.xml
@@ -18,14 +18,17 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
- android:paddingTop="20dip" >
+ android:paddingTop="9dip"
+ android:paddingBottom="3dip"
+ android:paddingLeft="3dip"
+ android:paddingRight="1dip">
<TextView
android:text="@string/autofill_setup_dialog_message"
android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:paddingBottom="5dip" />
+ android:padding="5dip" />
<CheckBox android:id="@+id/setup_autofill_dialog_disable_autofill"
android:text="@string/disable_autofill"
diff --git a/res/values/strings.xml b/res/values/strings.xml
index d0e81ac..81edfb2 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -423,6 +423,8 @@
<!-- Button text to delete all the AutoFill profile data [CHAR-LIMIT=20] -->
<string name="autofill_profile_editor_delete_profile">Delete profile</string>
+ <!-- Title on a dialog shown to the user when they are prompted to set up the autofill feature [CHAR-LIMIT=32] -->
+ <string name="autofill_setup_dialog_title">Setup Auto-fill?</string>
<!-- Text on a dialog shown to the user when they are prompted to set up the autofill feature [CHAR-LIMIT=NONE] -->
<string name="autofill_setup_dialog_message">Browser can automatically complete web forms like this one. Would you like to set up your profile?</string>
<!-- Toast message displayed when the user decides to not set up autofill at this time. We want to remind them that they can configure