Ben Murdoch | af55452 | 2010-09-10 22:09:30 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2010 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 | --> |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 16 | |
| 17 | <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
Ben Murdoch | af55452 | 2010-09-10 22:09:30 +0100 | [diff] [blame] | 18 | android:layout_width="match_parent" |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 19 | android:layout_height="match_parent"> |
Ben Murdoch | af55452 | 2010-09-10 22:09:30 +0100 | [diff] [blame] | 20 | |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 21 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 22 | android:layout_width="match_parent" |
| 23 | android:layout_height="match_parent" |
Ben Murdoch | 603f0b8 | 2010-11-17 13:20:40 +0000 | [diff] [blame] | 24 | android:orientation="vertical"> |
Ben Murdoch | af55452 | 2010-09-10 22:09:30 +0100 | [diff] [blame] | 25 | |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 26 | <TextView |
| 27 | android:layout_width="wrap_content" |
| 28 | android:layout_height="wrap_content" |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 29 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 30 | android:text="@string/autofill_profile_editor_heading" /> |
Ben Murdoch | af55452 | 2010-09-10 22:09:30 +0100 | [diff] [blame] | 31 | |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 32 | <View |
| 33 | android:layout_height="20dip" |
| 34 | android:layout_width="match_parent" /> |
Ben Murdoch | af55452 | 2010-09-10 22:09:30 +0100 | [diff] [blame] | 35 | |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 36 | <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 37 | android:layout_width="match_parent" |
| 38 | android:layout_height="wrap_content" |
Ben Murdoch | 348422c | 2010-11-30 18:33:31 +0000 | [diff] [blame] | 39 | android:shrinkColumns="1" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 40 | android:stretchColumns="1"> |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 41 | <TableRow> |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 42 | <TextView |
| 43 | android:layout_width="wrap_content" |
| 44 | android:layout_height="wrap_content" |
| 45 | android:gravity="center_vertical" |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 46 | android:layout_margin="2dip" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 47 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 48 | android:text="@string/autofill_profile_editor_name" /> |
| 49 | <EditText android:id="@+id/autofill_profile_editor_name_edit" |
| 50 | android:layout_width="match_parent" |
| 51 | android:layout_height="wrap_content" |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 52 | android:gravity="center_vertical" |
| 53 | android:layout_margin="2dip" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 54 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 55 | android:inputType="textPersonName|textCapWords" |
| 56 | android:singleLine="true" /> |
| 57 | </TableRow> |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 58 | <TableRow> |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 59 | <TextView |
| 60 | android:layout_width="wrap_content" |
| 61 | android:layout_height="wrap_content" |
| 62 | android:gravity="center_vertical" |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 63 | android:layout_margin="2dip" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 64 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 65 | android:text="@string/autofill_profile_editor_company_name" /> |
| 66 | <EditText android:id="@+id/autofill_profile_editor_company_name_edit" |
| 67 | android:layout_width="match_parent" |
| 68 | android:layout_height="wrap_content" |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 69 | android:gravity="center_vertical" |
| 70 | android:layout_margin="2dip" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 71 | android:textAppearance="?android:attr/textAppearanceMedium" |
Ben Murdoch | 603f0b8 | 2010-11-17 13:20:40 +0000 | [diff] [blame] | 72 | android:inputType="textCapWords" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 73 | android:singleLine="true" /> |
| 74 | </TableRow> |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 75 | <TableRow> |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 76 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 77 | android:layout_width="wrap_content" |
| 78 | android:layout_height="wrap_content" |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 79 | android:layout_margin="2dip" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 80 | android:orientation="vertical"> |
| 81 | <TextView |
| 82 | android:layout_width="wrap_content" |
| 83 | android:layout_height="wrap_content" |
| 84 | android:gravity="center_vertical" |
| 85 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 86 | android:text="@string/autofill_profile_editor_address_line_1" /> |
| 87 | <TextView |
| 88 | android:layout_width="wrap_content" |
| 89 | android:layout_height="wrap_content" |
| 90 | android:gravity="center_vertical" |
| 91 | android:textAppearance="?android:attr/textAppearanceSmall" |
| 92 | android:text="@string/autofill_profile_editor_address_line_1_hint" /> |
| 93 | </LinearLayout> |
| 94 | <EditText android:id="@+id/autofill_profile_editor_address_line_1_edit" |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 95 | android:gravity="center_vertical" |
| 96 | android:layout_margin="2dip" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 97 | android:textAppearance="?android:attr/textAppearanceMedium" |
Ben Murdoch | 603f0b8 | 2010-11-17 13:20:40 +0000 | [diff] [blame] | 98 | android:inputType="textCapWords" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 99 | android:singleLine="true" /> |
| 100 | </TableRow> |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 101 | <TableRow> |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 102 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 103 | android:layout_width="wrap_content" |
| 104 | android:layout_height="wrap_content" |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 105 | android:layout_margin="2dip" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 106 | android:orientation="vertical"> |
| 107 | <TextView |
| 108 | android:layout_width="wrap_content" |
| 109 | android:layout_height="wrap_content" |
| 110 | android:gravity="center_vertical" |
| 111 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 112 | android:text="@string/autofill_profile_editor_address_line_2" /> |
| 113 | <TextView |
| 114 | android:layout_width="wrap_content" |
| 115 | android:layout_height="wrap_content" |
| 116 | android:gravity="center_vertical" |
| 117 | android:textAppearance="?android:attr/textAppearanceSmall" |
| 118 | android:text="@string/autofill_profile_editor_address_line_2_hint" /> |
| 119 | </LinearLayout> |
| 120 | <EditText android:id="@+id/autofill_profile_editor_address_line_2_edit" |
| 121 | android:layout_width="match_parent" |
| 122 | android:layout_height="wrap_content" |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 123 | android:gravity="bottom" |
| 124 | android:layout_margin="2dip" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 125 | android:textAppearance="?android:attr/textAppearanceMedium" |
Ben Murdoch | 603f0b8 | 2010-11-17 13:20:40 +0000 | [diff] [blame] | 126 | android:inputType="textCapWords" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 127 | android:singleLine="true" /> |
| 128 | </TableRow> |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 129 | <TableRow> |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 130 | <TextView |
| 131 | android:layout_width="wrap_content" |
| 132 | android:layout_height="wrap_content" |
| 133 | android:gravity="center_vertical" |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 134 | android:layout_margin="2dip" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 135 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 136 | android:text="@string/autofill_profile_editor_city" /> |
| 137 | <EditText android:id="@+id/autofill_profile_editor_city_edit" |
| 138 | android:layout_width="match_parent" |
| 139 | android:layout_height="wrap_content" |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 140 | android:gravity="center_vertical" |
| 141 | android:layout_margin="2dip" |
Ben Murdoch | 603f0b8 | 2010-11-17 13:20:40 +0000 | [diff] [blame] | 142 | android:inputType="textCapWords" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 143 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 144 | android:singleLine="true" /> |
| 145 | </TableRow> |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 146 | <TableRow> |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 147 | <TextView |
| 148 | android:layout_width="wrap_content" |
| 149 | android:layout_height="wrap_content" |
| 150 | android:gravity="center_vertical" |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 151 | android:layout_margin="2dip" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 152 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 153 | android:text="@string/autofill_profile_editor_state" /> |
| 154 | <EditText android:id="@+id/autofill_profile_editor_state_edit" |
| 155 | android:layout_width="match_parent" |
| 156 | android:layout_height="wrap_content" |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 157 | android:gravity="center_vertical" |
| 158 | android:layout_margin="2dip" |
Ben Murdoch | 603f0b8 | 2010-11-17 13:20:40 +0000 | [diff] [blame] | 159 | android:inputType="textCapWords" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 160 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 161 | android:singleLine="true" /> |
| 162 | </TableRow> |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 163 | <TableRow> |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 164 | <TextView |
| 165 | android:layout_width="wrap_content" |
| 166 | android:layout_height="wrap_content" |
| 167 | android:gravity="center_vertical" |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 168 | android:layout_margin="2dip" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 169 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 170 | android:text="@string/autofill_profile_editor_zip_code" /> |
| 171 | <EditText android:id="@+id/autofill_profile_editor_zip_code_edit" |
| 172 | android:layout_width="match_parent" |
| 173 | android:layout_height="wrap_content" |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 174 | android:gravity="center_vertical" |
| 175 | android:layout_margin="2dip" |
Ben Murdoch | 603f0b8 | 2010-11-17 13:20:40 +0000 | [diff] [blame] | 176 | android:inputType="textCapCharacters" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 177 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 178 | android:singleLine="true" /> |
| 179 | </TableRow> |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 180 | <TableRow> |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 181 | <TextView |
| 182 | android:layout_width="wrap_content" |
| 183 | android:layout_height="wrap_content" |
| 184 | android:gravity="center_vertical" |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 185 | android:layout_margin="2dip" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 186 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 187 | android:text="@string/autofill_profile_editor_country" /> |
| 188 | <EditText android:id="@+id/autofill_profile_editor_country_edit" |
| 189 | android:layout_width="match_parent" |
| 190 | android:layout_height="wrap_content" |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 191 | android:gravity="center_vertical" |
| 192 | android:layout_margin="2dip" |
Ben Murdoch | 603f0b8 | 2010-11-17 13:20:40 +0000 | [diff] [blame] | 193 | android:inputType="textCapWords" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 194 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 195 | android:singleLine="true" /> |
| 196 | </TableRow> |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 197 | <TableRow> |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 198 | <TextView |
| 199 | android:layout_width="wrap_content" |
| 200 | android:layout_height="wrap_content" |
| 201 | android:gravity="center_vertical" |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 202 | android:layout_margin="2dip" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 203 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 204 | android:text="@string/autofill_profile_editor_phone_number" /> |
| 205 | <EditText android:id="@+id/autofill_profile_editor_phone_number_edit" |
| 206 | android:layout_width="match_parent" |
| 207 | android:layout_height="wrap_content" |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 208 | android:gravity="center_vertical" |
| 209 | android:layout_margin="2dip" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 210 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 211 | android:singleLine="true" |
| 212 | android:phoneNumber="true" /> |
| 213 | </TableRow> |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 214 | <TableRow> |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 215 | <TextView |
| 216 | android:layout_width="wrap_content" |
| 217 | android:layout_height="wrap_content" |
| 218 | android:gravity="center_vertical" |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 219 | android:layout_margin="2dip" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 220 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 221 | android:text="@string/autofill_profile_editor_email_address" /> |
| 222 | <EditText android:id="@+id/autofill_profile_editor_email_address_edit" |
| 223 | android:layout_width="match_parent" |
| 224 | android:layout_height="wrap_content" |
Ben Murdoch | 4db3a2c | 2010-12-07 11:48:46 +0000 | [diff] [blame] | 225 | android:gravity="center_vertical" |
| 226 | android:layout_margin="2dip" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 227 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 228 | android:inputType="textEmailAddress" |
| 229 | android:singleLine="true" /> |
| 230 | </TableRow> |
| 231 | </TableLayout> |
Ben Murdoch | af55452 | 2010-09-10 22:09:30 +0100 | [diff] [blame] | 232 | |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 233 | <View |
| 234 | android:layout_height="20dip" |
| 235 | android:layout_width="match_parent" /> |
| 236 | |
| 237 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 238 | android:layout_width="match_parent" |
| 239 | android:layout_height="wrap_content" |
| 240 | android:orientation="horizontal" |
| 241 | android:gravity="center"> |
| 242 | <Button |
| 243 | android:id="@+id/autofill_profile_editor_save_button" |
| 244 | android:layout_width="wrap_content" |
| 245 | android:layout_height="wrap_content" |
| 246 | android:text="@string/autofill_profile_editor_save_profile" |
| 247 | android:textAppearance="?android:attr/textAppearanceMedium" /> |
| 248 | |
| 249 | <Button |
| 250 | android:id="@+id/autofill_profile_editor_cancel_button" |
| 251 | android:layout_width="wrap_content" |
| 252 | android:layout_height="wrap_content" |
| 253 | android:text="@string/cancel" |
| 254 | android:textAppearance="?android:attr/textAppearanceMedium" /> |
| 255 | |
| 256 | <Button |
| 257 | android:id="@+id/autofill_profile_editor_delete_button" |
| 258 | android:layout_width="wrap_content" |
| 259 | android:layout_height="wrap_content" |
| 260 | android:text="@string/autofill_profile_editor_delete_profile" |
| 261 | android:textAppearance="?android:attr/textAppearanceMedium" /> |
| 262 | </LinearLayout> |
| 263 | |
| 264 | </LinearLayout> |
| 265 | </ScrollView> |