blob: ca74e9a99376e97f38d870c1c9e32a94f0634b1d [file] [log] [blame]
Ben Murdochaf554522010-09-10 22:09:30 +01001<?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 Murdoch36a23dd2010-10-13 13:20:06 +010016
17<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
Ben Murdochaf554522010-09-10 22:09:30 +010018 android:layout_width="match_parent"
Ben Murdoch4db3a2c2010-12-07 11:48:46 +000019 android:layout_height="match_parent">
Ben Murdochaf554522010-09-10 22:09:30 +010020
Ben Murdoch36a23dd2010-10-13 13:20:06 +010021 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
22 android:layout_width="match_parent"
23 android:layout_height="match_parent"
Ben Murdoch603f0b82010-11-17 13:20:40 +000024 android:orientation="vertical">
Ben Murdochaf554522010-09-10 22:09:30 +010025
Ben Murdoch36a23dd2010-10-13 13:20:06 +010026 <TextView
27 android:layout_width="wrap_content"
28 android:layout_height="wrap_content"
Ben Murdoch4db3a2c2010-12-07 11:48:46 +000029 android:textAppearance="?android:attr/textAppearanceMedium"
30 android:text="@string/autofill_profile_editor_heading" />
Ben Murdochaf554522010-09-10 22:09:30 +010031
Ben Murdoch36a23dd2010-10-13 13:20:06 +010032 <View
33 android:layout_height="20dip"
34 android:layout_width="match_parent" />
Ben Murdochaf554522010-09-10 22:09:30 +010035
Ben Murdoch36a23dd2010-10-13 13:20:06 +010036 <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
37 android:layout_width="match_parent"
38 android:layout_height="wrap_content"
Ben Murdoch348422c2010-11-30 18:33:31 +000039 android:shrinkColumns="1"
Ben Murdoch36a23dd2010-10-13 13:20:06 +010040 android:stretchColumns="1">
Ben Murdoch4db3a2c2010-12-07 11:48:46 +000041 <TableRow>
Ben Murdoch36a23dd2010-10-13 13:20:06 +010042 <TextView
43 android:layout_width="wrap_content"
44 android:layout_height="wrap_content"
45 android:gravity="center_vertical"
Ben Murdoch4db3a2c2010-12-07 11:48:46 +000046 android:layout_margin="2dip"
Ben Murdoch36a23dd2010-10-13 13:20:06 +010047 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 Murdoch4db3a2c2010-12-07 11:48:46 +000052 android:gravity="center_vertical"
53 android:layout_margin="2dip"
Ben Murdoch36a23dd2010-10-13 13:20:06 +010054 android:textAppearance="?android:attr/textAppearanceMedium"
55 android:inputType="textPersonName|textCapWords"
56 android:singleLine="true" />
57 </TableRow>
Ben Murdoch4db3a2c2010-12-07 11:48:46 +000058 <TableRow>
Ben Murdoch36a23dd2010-10-13 13:20:06 +010059 <TextView
60 android:layout_width="wrap_content"
61 android:layout_height="wrap_content"
62 android:gravity="center_vertical"
Ben Murdoch4db3a2c2010-12-07 11:48:46 +000063 android:layout_margin="2dip"
Ben Murdoch36a23dd2010-10-13 13:20:06 +010064 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 Murdoch4db3a2c2010-12-07 11:48:46 +000069 android:gravity="center_vertical"
70 android:layout_margin="2dip"
Ben Murdoch36a23dd2010-10-13 13:20:06 +010071 android:textAppearance="?android:attr/textAppearanceMedium"
Ben Murdoch603f0b82010-11-17 13:20:40 +000072 android:inputType="textCapWords"
Ben Murdoch36a23dd2010-10-13 13:20:06 +010073 android:singleLine="true" />
74 </TableRow>
Ben Murdoch4db3a2c2010-12-07 11:48:46 +000075 <TableRow>
Ben Murdoch36a23dd2010-10-13 13:20:06 +010076 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
77 android:layout_width="wrap_content"
78 android:layout_height="wrap_content"
Ben Murdoch4db3a2c2010-12-07 11:48:46 +000079 android:layout_margin="2dip"
Ben Murdoch36a23dd2010-10-13 13:20:06 +010080 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 Murdoch4db3a2c2010-12-07 11:48:46 +000095 android:gravity="center_vertical"
96 android:layout_margin="2dip"
Ben Murdoch36a23dd2010-10-13 13:20:06 +010097 android:textAppearance="?android:attr/textAppearanceMedium"
Ben Murdoch603f0b82010-11-17 13:20:40 +000098 android:inputType="textCapWords"
Ben Murdoch36a23dd2010-10-13 13:20:06 +010099 android:singleLine="true" />
100 </TableRow>
Ben Murdoch4db3a2c2010-12-07 11:48:46 +0000101 <TableRow>
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100102 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
103 android:layout_width="wrap_content"
104 android:layout_height="wrap_content"
Ben Murdoch4db3a2c2010-12-07 11:48:46 +0000105 android:layout_margin="2dip"
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100106 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 Murdoch4db3a2c2010-12-07 11:48:46 +0000123 android:gravity="bottom"
124 android:layout_margin="2dip"
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100125 android:textAppearance="?android:attr/textAppearanceMedium"
Ben Murdoch603f0b82010-11-17 13:20:40 +0000126 android:inputType="textCapWords"
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100127 android:singleLine="true" />
128 </TableRow>
Ben Murdoch4db3a2c2010-12-07 11:48:46 +0000129 <TableRow>
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100130 <TextView
131 android:layout_width="wrap_content"
132 android:layout_height="wrap_content"
133 android:gravity="center_vertical"
Ben Murdoch4db3a2c2010-12-07 11:48:46 +0000134 android:layout_margin="2dip"
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100135 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 Murdoch4db3a2c2010-12-07 11:48:46 +0000140 android:gravity="center_vertical"
141 android:layout_margin="2dip"
Ben Murdoch603f0b82010-11-17 13:20:40 +0000142 android:inputType="textCapWords"
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100143 android:textAppearance="?android:attr/textAppearanceMedium"
144 android:singleLine="true" />
145 </TableRow>
Ben Murdoch4db3a2c2010-12-07 11:48:46 +0000146 <TableRow>
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100147 <TextView
148 android:layout_width="wrap_content"
149 android:layout_height="wrap_content"
150 android:gravity="center_vertical"
Ben Murdoch4db3a2c2010-12-07 11:48:46 +0000151 android:layout_margin="2dip"
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100152 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 Murdoch4db3a2c2010-12-07 11:48:46 +0000157 android:gravity="center_vertical"
158 android:layout_margin="2dip"
Ben Murdoch603f0b82010-11-17 13:20:40 +0000159 android:inputType="textCapWords"
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100160 android:textAppearance="?android:attr/textAppearanceMedium"
161 android:singleLine="true" />
162 </TableRow>
Ben Murdoch4db3a2c2010-12-07 11:48:46 +0000163 <TableRow>
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100164 <TextView
165 android:layout_width="wrap_content"
166 android:layout_height="wrap_content"
167 android:gravity="center_vertical"
Ben Murdoch4db3a2c2010-12-07 11:48:46 +0000168 android:layout_margin="2dip"
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100169 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 Murdoch4db3a2c2010-12-07 11:48:46 +0000174 android:gravity="center_vertical"
175 android:layout_margin="2dip"
Ben Murdoch603f0b82010-11-17 13:20:40 +0000176 android:inputType="textCapCharacters"
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100177 android:textAppearance="?android:attr/textAppearanceMedium"
178 android:singleLine="true" />
179 </TableRow>
Ben Murdoch4db3a2c2010-12-07 11:48:46 +0000180 <TableRow>
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100181 <TextView
182 android:layout_width="wrap_content"
183 android:layout_height="wrap_content"
184 android:gravity="center_vertical"
Ben Murdoch4db3a2c2010-12-07 11:48:46 +0000185 android:layout_margin="2dip"
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100186 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 Murdoch4db3a2c2010-12-07 11:48:46 +0000191 android:gravity="center_vertical"
192 android:layout_margin="2dip"
Ben Murdoch603f0b82010-11-17 13:20:40 +0000193 android:inputType="textCapWords"
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100194 android:textAppearance="?android:attr/textAppearanceMedium"
195 android:singleLine="true" />
196 </TableRow>
Ben Murdoch4db3a2c2010-12-07 11:48:46 +0000197 <TableRow>
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100198 <TextView
199 android:layout_width="wrap_content"
200 android:layout_height="wrap_content"
201 android:gravity="center_vertical"
Ben Murdoch4db3a2c2010-12-07 11:48:46 +0000202 android:layout_margin="2dip"
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100203 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 Murdoch4db3a2c2010-12-07 11:48:46 +0000208 android:gravity="center_vertical"
209 android:layout_margin="2dip"
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100210 android:textAppearance="?android:attr/textAppearanceMedium"
211 android:singleLine="true"
212 android:phoneNumber="true" />
213 </TableRow>
Ben Murdoch4db3a2c2010-12-07 11:48:46 +0000214 <TableRow>
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100215 <TextView
216 android:layout_width="wrap_content"
217 android:layout_height="wrap_content"
218 android:gravity="center_vertical"
Ben Murdoch4db3a2c2010-12-07 11:48:46 +0000219 android:layout_margin="2dip"
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100220 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 Murdoch4db3a2c2010-12-07 11:48:46 +0000225 android:gravity="center_vertical"
226 android:layout_margin="2dip"
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100227 android:textAppearance="?android:attr/textAppearanceMedium"
228 android:inputType="textEmailAddress"
229 android:singleLine="true" />
230 </TableRow>
231 </TableLayout>
Ben Murdochaf554522010-09-10 22:09:30 +0100232
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100233 <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>