summaryrefslogtreecommitdiffstats
path: root/res/layout/set_backup_pw.xml
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2011-07-25 12:09:10 -0700
committerChristopher Tate <ctate@google.com>2011-07-28 14:22:29 -0700
commit4f33878f208e729cf96b708c57686555d2493129 (patch)
tree4df60c80e1495de71624297c3b761aaca5954d2a /res/layout/set_backup_pw.xml
parent95ce1898c53253283a6cb6841e2d348285abaa84 (diff)
downloadpackages_apps_Settings-4f33878f208e729cf96b708c57686555d2493129.zip
packages_apps_Settings-4f33878f208e729cf96b708c57686555d2493129.tar.gz
packages_apps_Settings-4f33878f208e729cf96b708c57686555d2493129.tar.bz2
Add backup password setting UI
Bug 4901637 Change-Id: I515f1475d3675285a830b4b5ddd1f011f1b56e3a
Diffstat (limited to 'res/layout/set_backup_pw.xml')
-rw-r--r--res/layout/set_backup_pw.xml83
1 files changed, 83 insertions, 0 deletions
diff --git a/res/layout/set_backup_pw.xml b/res/layout/set_backup_pw.xml
new file mode 100644
index 0000000..3743c81
--- /dev/null
+++ b/res/layout/set_backup_pw.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<RelativeLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="16dip"
+ >
+
+ <TextView
+ android:id="@+id/prompt1"
+ android:text="@string/current_backup_pw_prompt"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content" />
+
+ <EditText
+ android:id="@+id/current_backup_pw"
+ android:layout_below="@id/prompt1"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:singleLine="true"
+ android:password="true" />
+
+ <TextView
+ android:id="@+id/prompt2"
+ android:layout_below="@id/current_backup_pw"
+ android:text="@string/new_backup_pw_prompt"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content" />
+
+ <EditText
+ android:id="@+id/new_backup_pw"
+ android:layout_below="@id/prompt2"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:singleLine="true"
+ android:password="true" />
+
+ <TextView
+ android:id="@+id/prompt3"
+ android:layout_below="@id/new_backup_pw"
+ android:text="@string/confirm_new_backup_pw_prompt"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content" />
+
+ <EditText
+ android:id="@+id/confirm_new_backup_pw"
+ android:layout_below="@id/prompt3"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:singleLine="true"
+ android:password="true" />
+
+ <Button
+ android:id="@+id/backup_pw_cancel_button"
+ android:layout_below="@id/confirm_new_backup_pw"
+ android:text="@string/backup_pw_cancel_button_text"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content" />
+
+ <Button
+ android:id="@+id/backup_pw_set_button"
+ android:layout_below="@id/confirm_new_backup_pw"
+ android:layout_toRightOf="@id/backup_pw_cancel_button"
+ android:text="@string/backup_pw_set_button_text"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content" />
+
+</RelativeLayout>