blob: b92c149f33008b414ece698114706c2975aafa27 [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 Murdochd7d26812010-12-13 14:49:34 +000026 <View
27 android:layout_height="10dip"
28 android:layout_width="match_parent" />
Ben Murdochaf554522010-09-10 22:09:30 +010029
Ben Murdochd7d26812010-12-13 14:49:34 +000030 <TextView
31 android:layout_width="wrap_content"
32 android:layout_height="wrap_content"
33 android:textAppearance="?android:attr/textAppearanceMedium"
34 android:text="@string/autofill_profile_editor_heading" />
Ben Murdochaf554522010-09-10 22:09:30 +010035
Ben Murdochd7d26812010-12-13 14:49:34 +000036 <View
37 android:layout_height="12dip"
38 android:layout_width="match_parent" />
39
40 <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
41 android:layout_width="match_parent"
42 android:layout_height="wrap_content"
43 android:shrinkColumns="1"
44 android:stretchColumns="1">
45 <TableRow>
Ben Murdoch36a23dd2010-10-13 13:20:06 +010046 <TextView
47 android:layout_width="wrap_content"
48 android:layout_height="wrap_content"
49 android:gravity="center_vertical"
Ben Murdochd7d26812010-12-13 14:49:34 +000050 android:layout_margin="2dip"
Ben Murdoch36a23dd2010-10-13 13:20:06 +010051 android:textAppearance="?android:attr/textAppearanceMedium"
Ben Murdochd7d26812010-12-13 14:49:34 +000052 android:text="@string/autofill_profile_editor_name" />
53 <EditText android:id="@+id/autofill_profile_editor_name_edit"
54 android:layout_width="match_parent"
Ben Murdoch36a23dd2010-10-13 13:20:06 +010055 android:layout_height="wrap_content"
56 android:gravity="center_vertical"
Ben Murdochd7d26812010-12-13 14:49:34 +000057 android:layout_margin="2dip"
58 android:textAppearance="?android:attr/textAppearanceMedium"
59 android:inputType="textPersonName|textCapWords"
60 android:singleLine="true" />
61 </TableRow>
62 <TableRow>
Ben Murdoch36a23dd2010-10-13 13:20:06 +010063 <TextView
64 android:layout_width="wrap_content"
65 android:layout_height="wrap_content"
66 android:gravity="center_vertical"
Ben Murdochd7d26812010-12-13 14:49:34 +000067 android:layout_margin="2dip"
Ben Murdoch36a23dd2010-10-13 13:20:06 +010068 android:textAppearance="?android:attr/textAppearanceMedium"
Ben Murdochd7d26812010-12-13 14:49:34 +000069 android:text="@string/autofill_profile_editor_company_name" />
70 <EditText android:id="@+id/autofill_profile_editor_company_name_edit"
71 android:layout_width="match_parent"
72 android:layout_height="wrap_content"
73 android:gravity="center_vertical"
74 android:layout_margin="2dip"
75 android:textAppearance="?android:attr/textAppearanceMedium"
76 android:inputType="textCapWords"
77 android:singleLine="true" />
78 </TableRow>
79 <TableRow>
80 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
81 android:layout_width="wrap_content"
82 android:layout_height="wrap_content"
83 android:layout_margin="2dip"
84 android:orientation="vertical">
85 <TextView
86 android:layout_width="wrap_content"
87 android:layout_height="wrap_content"
88 android:gravity="center_vertical"
89 android:textAppearance="?android:attr/textAppearanceMedium"
90 android:text="@string/autofill_profile_editor_address_line_1" />
91 <TextView
92 android:layout_width="wrap_content"
93 android:layout_height="wrap_content"
94 android:gravity="center_vertical"
95 android:textAppearance="?android:attr/textAppearanceSmall"
96 android:text="@string/autofill_profile_editor_address_line_1_hint" />
97 </LinearLayout>
98 <EditText android:id="@+id/autofill_profile_editor_address_line_1_edit"
99 android:gravity="center_vertical"
100 android:layout_margin="2dip"
101 android:textAppearance="?android:attr/textAppearanceMedium"
102 android:inputType="textCapWords"
103 android:singleLine="true" />
104 </TableRow>
105 <TableRow>
106 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
107 android:layout_width="wrap_content"
108 android:layout_height="wrap_content"
109 android:layout_margin="2dip"
110 android:orientation="vertical">
111 <TextView
112 android:layout_width="wrap_content"
113 android:layout_height="wrap_content"
114 android:gravity="center_vertical"
115 android:textAppearance="?android:attr/textAppearanceMedium"
116 android:text="@string/autofill_profile_editor_address_line_2" />
117 <TextView
118 android:layout_width="wrap_content"
119 android:layout_height="wrap_content"
120 android:gravity="center_vertical"
121 android:textAppearance="?android:attr/textAppearanceSmall"
122 android:text="@string/autofill_profile_editor_address_line_2_hint" />
123 </LinearLayout>
124 <EditText android:id="@+id/autofill_profile_editor_address_line_2_edit"
125 android:layout_width="match_parent"
126 android:layout_height="wrap_content"
127 android:gravity="bottom"
128 android:layout_margin="2dip"
129 android:textAppearance="?android:attr/textAppearanceMedium"
130 android:inputType="textCapWords"
131 android:singleLine="true" />
132 </TableRow>
133 <TableRow>
134 <TextView
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100135 android:layout_width="wrap_content"
136 android:layout_height="wrap_content"
137 android:gravity="center_vertical"
Ben Murdochd7d26812010-12-13 14:49:34 +0000138 android:layout_margin="2dip"
139 android:textAppearance="?android:attr/textAppearanceMedium"
140 android:text="@string/autofill_profile_editor_city" />
141 <EditText android:id="@+id/autofill_profile_editor_city_edit"
142 android:layout_width="match_parent"
143 android:layout_height="wrap_content"
144 android:gravity="center_vertical"
145 android:layout_margin="2dip"
146 android:inputType="textCapWords"
147 android:textAppearance="?android:attr/textAppearanceMedium"
148 android:singleLine="true" />
149 </TableRow>
150 <TableRow>
151 <TextView
152 android:layout_width="wrap_content"
153 android:layout_height="wrap_content"
154 android:gravity="center_vertical"
155 android:layout_margin="2dip"
156 android:textAppearance="?android:attr/textAppearanceMedium"
157 android:text="@string/autofill_profile_editor_state" />
158 <EditText android:id="@+id/autofill_profile_editor_state_edit"
159 android:layout_width="match_parent"
160 android:layout_height="wrap_content"
161 android:gravity="center_vertical"
162 android:layout_margin="2dip"
163 android:inputType="textCapWords"
164 android:textAppearance="?android:attr/textAppearanceMedium"
165 android:singleLine="true" />
166 </TableRow>
167 <TableRow>
168 <TextView
169 android:layout_width="wrap_content"
170 android:layout_height="wrap_content"
171 android:gravity="center_vertical"
172 android:layout_margin="2dip"
173 android:textAppearance="?android:attr/textAppearanceMedium"
174 android:text="@string/autofill_profile_editor_zip_code" />
175 <EditText android:id="@+id/autofill_profile_editor_zip_code_edit"
176 android:layout_width="match_parent"
177 android:layout_height="wrap_content"
178 android:gravity="center_vertical"
179 android:layout_margin="2dip"
180 android:inputType="textCapCharacters"
181 android:textAppearance="?android:attr/textAppearanceMedium"
182 android:singleLine="true" />
183 </TableRow>
184 <TableRow>
185 <TextView
186 android:layout_width="wrap_content"
187 android:layout_height="wrap_content"
188 android:gravity="center_vertical"
189 android:layout_margin="2dip"
190 android:textAppearance="?android:attr/textAppearanceMedium"
191 android:text="@string/autofill_profile_editor_country" />
192 <EditText android:id="@+id/autofill_profile_editor_country_edit"
193 android:layout_width="match_parent"
194 android:layout_height="wrap_content"
195 android:gravity="center_vertical"
196 android:layout_margin="2dip"
197 android:inputType="textCapWords"
198 android:textAppearance="?android:attr/textAppearanceMedium"
199 android:singleLine="true" />
200 </TableRow>
201 <TableRow>
202 <TextView
203 android:layout_width="wrap_content"
204 android:layout_height="wrap_content"
205 android:gravity="center_vertical"
206 android:layout_margin="2dip"
207 android:textAppearance="?android:attr/textAppearanceMedium"
208 android:text="@string/autofill_profile_editor_phone_number" />
209 <EditText android:id="@+id/autofill_profile_editor_phone_number_edit"
210 android:layout_width="match_parent"
211 android:layout_height="wrap_content"
212 android:gravity="center_vertical"
213 android:layout_margin="2dip"
214 android:textAppearance="?android:attr/textAppearanceMedium"
215 android:singleLine="true"
216 android:phoneNumber="true" />
217 </TableRow>
218 <TableRow>
219 <TextView
220 android:layout_width="wrap_content"
221 android:layout_height="wrap_content"
222 android:gravity="center_vertical"
223 android:layout_margin="2dip"
224 android:textAppearance="?android:attr/textAppearanceMedium"
225 android:text="@string/autofill_profile_editor_email_address" />
226 <EditText android:id="@+id/autofill_profile_editor_email_address_edit"
227 android:layout_width="match_parent"
228 android:layout_height="wrap_content"
229 android:gravity="center_vertical"
230 android:layout_margin="2dip"
231 android:textAppearance="?android:attr/textAppearanceMedium"
232 android:inputType="textEmailAddress"
233 android:singleLine="true" />
234 </TableRow>
235 </TableLayout>
Ben Murdochaf554522010-09-10 22:09:30 +0100236
Ben Murdochd7d26812010-12-13 14:49:34 +0000237 <View
238 android:layout_height="12dip"
239 android:layout_width="match_parent" />
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100240
Ben Murdochd7d26812010-12-13 14:49:34 +0000241 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
242 android:layout_width="match_parent"
243 android:layout_height="wrap_content"
244 android:orientation="horizontal"
245 android:gravity="center">
246 <Button
247 android:id="@+id/autofill_profile_editor_save_button"
248 android:layout_width="wrap_content"
249 android:layout_height="wrap_content"
250 android:text="@string/autofill_profile_editor_save_profile"
251 android:textAppearance="?android:attr/textAppearanceMedium" />
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100252
Ben Murdochd7d26812010-12-13 14:49:34 +0000253 <Button
254 android:id="@+id/autofill_profile_editor_cancel_button"
255 android:layout_width="wrap_content"
256 android:layout_height="wrap_content"
257 android:text="@string/cancel"
258 android:textAppearance="?android:attr/textAppearanceMedium" />
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100259
Ben Murdochd7d26812010-12-13 14:49:34 +0000260 <Button
261 android:id="@+id/autofill_profile_editor_delete_button"
262 android:layout_width="wrap_content"
263 android:layout_height="wrap_content"
264 android:text="@string/autofill_profile_editor_delete_profile"
265 android:textAppearance="?android:attr/textAppearanceMedium" />
266 </LinearLayout>
Ben Murdoch36a23dd2010-10-13 13:20:06 +0100267 </LinearLayout>
268</ScrollView>