Christopher Tate | 4f33878 | 2011-07-25 12:09:10 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2011 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <RelativeLayout |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | android:layout_width="wrap_content" |
| 20 | android:layout_height="wrap_content" |
| 21 | android:padding="16dip" |
| 22 | > |
| 23 | |
| 24 | <TextView |
| 25 | android:id="@+id/prompt1" |
| 26 | android:text="@string/current_backup_pw_prompt" |
| 27 | android:layout_height="wrap_content" |
| 28 | android:layout_width="wrap_content" /> |
| 29 | |
| 30 | <EditText |
| 31 | android:id="@+id/current_backup_pw" |
| 32 | android:layout_below="@id/prompt1" |
| 33 | android:layout_height="wrap_content" |
| 34 | android:layout_width="match_parent" |
| 35 | android:singleLine="true" |
| 36 | android:password="true" /> |
| 37 | |
| 38 | <TextView |
| 39 | android:id="@+id/prompt2" |
| 40 | android:layout_below="@id/current_backup_pw" |
| 41 | android:text="@string/new_backup_pw_prompt" |
| 42 | android:layout_height="wrap_content" |
| 43 | android:layout_width="wrap_content" /> |
| 44 | |
| 45 | <EditText |
| 46 | android:id="@+id/new_backup_pw" |
| 47 | android:layout_below="@id/prompt2" |
| 48 | android:layout_height="wrap_content" |
| 49 | android:layout_width="match_parent" |
| 50 | android:singleLine="true" |
| 51 | android:password="true" /> |
| 52 | |
| 53 | <TextView |
| 54 | android:id="@+id/prompt3" |
| 55 | android:layout_below="@id/new_backup_pw" |
| 56 | android:text="@string/confirm_new_backup_pw_prompt" |
| 57 | android:layout_height="wrap_content" |
| 58 | android:layout_width="wrap_content" /> |
| 59 | |
| 60 | <EditText |
| 61 | android:id="@+id/confirm_new_backup_pw" |
| 62 | android:layout_below="@id/prompt3" |
| 63 | android:layout_height="wrap_content" |
| 64 | android:layout_width="match_parent" |
| 65 | android:singleLine="true" |
| 66 | android:password="true" /> |
| 67 | |
| 68 | <Button |
| 69 | android:id="@+id/backup_pw_cancel_button" |
| 70 | android:layout_below="@id/confirm_new_backup_pw" |
| 71 | android:text="@string/backup_pw_cancel_button_text" |
| 72 | android:layout_height="wrap_content" |
| 73 | android:layout_width="wrap_content" /> |
| 74 | |
| 75 | <Button |
| 76 | android:id="@+id/backup_pw_set_button" |
| 77 | android:layout_below="@id/confirm_new_backup_pw" |
Fabrice Di Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 78 | android:layout_toEndOf="@id/backup_pw_cancel_button" |
Christopher Tate | 4f33878 | 2011-07-25 12:09:10 -0700 | [diff] [blame] | 79 | android:text="@string/backup_pw_set_button_text" |
| 80 | android:layout_height="wrap_content" |
| 81 | android:layout_width="wrap_content" /> |
| 82 | |
| 83 | </RelativeLayout> |