blob: ab23ffbf61a02842599ec1da31dab77abc0b867d [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 Murdoch815752a2011-06-16 19:47:08 +010016<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Ben Murdochaf554522010-09-10 22:09:30 +010017 android:layout_width="match_parent"
Ben Murdoch815752a2011-06-16 19:47:08 +010018 android:layout_height="match_parent"
19 android:orientation="vertical">
Ben Murdochaf554522010-09-10 22:09:30 +010020
Ben Murdoch815752a2011-06-16 19:47:08 +010021 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
Ben Murdoch36a23dd2010-10-13 13:20:06 +010022 android:layout_width="match_parent"
Ben Murdoch815752a2011-06-16 19:47:08 +010023 android:layout_height="0px"
24 android:layout_weight="1">
Ben Murdoch36a23dd2010-10-13 13:20:06 +010025
Ben Murdochd7d26812010-12-13 14:49:34 +000026 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
27 android:layout_width="match_parent"
Ben Murdoch815752a2011-06-16 19:47:08 +010028 android:layout_height="match_parent"
29 android:orientation="vertical">
Ben Murdoch36a23dd2010-10-13 13:20:06 +010030
Ben Murdoch815752a2011-06-16 19:47:08 +010031 <View
32 android:layout_height="10dip"
33 android:layout_width="match_parent" />
Ben Murdoch36a23dd2010-10-13 13:20:06 +010034
Ben Murdoch815752a2011-06-16 19:47:08 +010035 <TextView
Ben Murdochd7d26812010-12-13 14:49:34 +000036 android:layout_width="wrap_content"
37 android:layout_height="wrap_content"
Ben Murdoch815752a2011-06-16 19:47:08 +010038 android:textAppearance="?android:attr/textAppearanceMedium"
39 android:text="@string/autofill_profile_editor_heading" />
40
41 <View
42 android:layout_height="12dip"
43 android:layout_width="match_parent" />
44
45 <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
46 android:layout_width="match_parent"
47 android:layout_height="wrap_content"
48 android:shrinkColumns="1"
49 android:stretchColumns="1">
50 <TableRow>
51 <TextView
Ben Murdoche4c59f92011-10-18 12:01:07 +010052 style="@style/AutofillProfileTextView"
Ben Murdoch815752a2011-06-16 19:47:08 +010053 android:text="@string/autofill_profile_editor_name" />
54 <EditText android:id="@+id/autofill_profile_editor_name_edit"
Ben Murdoche4c59f92011-10-18 12:01:07 +010055 style="@style/AutofillProfileEditText"
56 android:inputType="textPersonName|textCapWords" />
Ben Murdoch815752a2011-06-16 19:47:08 +010057 </TableRow>
58 <TableRow>
59 <TextView
Ben Murdoche4c59f92011-10-18 12:01:07 +010060 style="@style/AutofillProfileTextView"
Ben Murdoch815752a2011-06-16 19:47:08 +010061 android:text="@string/autofill_profile_editor_company_name" />
62 <EditText android:id="@+id/autofill_profile_editor_company_name_edit"
Ben Murdoche4c59f92011-10-18 12:01:07 +010063 style="@style/AutofillProfileEditText"
64 android:inputType="textCapWords" />
Ben Murdoch815752a2011-06-16 19:47:08 +010065 </TableRow>
66 <TableRow>
67 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
68 android:layout_width="wrap_content"
69 android:layout_height="wrap_content"
70 android:layout_margin="2dip"
71 android:orientation="vertical">
72 <TextView
73 android:layout_width="wrap_content"
74 android:layout_height="wrap_content"
75 android:gravity="center_vertical"
76 android:textAppearance="?android:attr/textAppearanceMedium"
77 android:text="@string/autofill_profile_editor_address_line_1" />
78 <TextView
79 android:layout_width="wrap_content"
80 android:layout_height="wrap_content"
81 android:gravity="center_vertical"
82 android:textAppearance="?android:attr/textAppearanceSmall"
83 android:text="@string/autofill_profile_editor_address_line_1_hint" />
84 </LinearLayout>
85 <EditText android:id="@+id/autofill_profile_editor_address_line_1_edit"
Ben Murdoche4c59f92011-10-18 12:01:07 +010086 style="@style/AutofillProfileEditText"
87 android:inputType="textCapWords" />
Ben Murdoch815752a2011-06-16 19:47:08 +010088 </TableRow>
89 <TableRow>
90 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
91 android:layout_width="wrap_content"
92 android:layout_height="wrap_content"
93 android:layout_margin="2dip"
94 android:orientation="vertical">
95 <TextView
96 android:layout_width="wrap_content"
97 android:layout_height="wrap_content"
98 android:gravity="center_vertical"
99 android:textAppearance="?android:attr/textAppearanceMedium"
100 android:text="@string/autofill_profile_editor_address_line_2" />
101 <TextView
102 android:layout_width="wrap_content"
103 android:layout_height="wrap_content"
104 android:gravity="center_vertical"
105 android:textAppearance="?android:attr/textAppearanceSmall"
106 android:text="@string/autofill_profile_editor_address_line_2_hint" />
107 </LinearLayout>
108 <EditText android:id="@+id/autofill_profile_editor_address_line_2_edit"
Ben Murdoche4c59f92011-10-18 12:01:07 +0100109 style="@style/AutofillProfileEditText"
110 android:inputType="textCapWords" />
Ben Murdoch815752a2011-06-16 19:47:08 +0100111 </TableRow>
112 <TableRow>
113 <TextView
Ben Murdoche4c59f92011-10-18 12:01:07 +0100114 style="@style/AutofillProfileTextView"
Ben Murdoch815752a2011-06-16 19:47:08 +0100115 android:text="@string/autofill_profile_editor_city" />
116 <EditText android:id="@+id/autofill_profile_editor_city_edit"
Ben Murdoche4c59f92011-10-18 12:01:07 +0100117 style="@style/AutofillProfileEditText"
118 android:inputType="textCapWords" />
Ben Murdoch815752a2011-06-16 19:47:08 +0100119 </TableRow>
120 <TableRow>
121 <TextView
Ben Murdoche4c59f92011-10-18 12:01:07 +0100122 style="@style/AutofillProfileTextView"
Ben Murdoch815752a2011-06-16 19:47:08 +0100123 android:text="@string/autofill_profile_editor_state" />
124 <EditText android:id="@+id/autofill_profile_editor_state_edit"
Ben Murdoche4c59f92011-10-18 12:01:07 +0100125 style="@style/AutofillProfileEditText"
126 android:inputType="textCapWords" />
Ben Murdoch815752a2011-06-16 19:47:08 +0100127 </TableRow>
128 <TableRow>
129 <TextView
Ben Murdoche4c59f92011-10-18 12:01:07 +0100130 style="@style/AutofillProfileTextView"
Ben Murdoch815752a2011-06-16 19:47:08 +0100131 android:text="@string/autofill_profile_editor_zip_code" />
132 <EditText android:id="@+id/autofill_profile_editor_zip_code_edit"
Ben Murdoche4c59f92011-10-18 12:01:07 +0100133 style="@style/AutofillProfileEditText"
134 android:inputType="textCapCharacters" />
Ben Murdoch815752a2011-06-16 19:47:08 +0100135 </TableRow>
136 <TableRow>
137 <TextView
Ben Murdoche4c59f92011-10-18 12:01:07 +0100138 style="@style/AutofillProfileTextView"
Ben Murdoch815752a2011-06-16 19:47:08 +0100139 android:text="@string/autofill_profile_editor_country" />
140 <EditText android:id="@+id/autofill_profile_editor_country_edit"
Ben Murdoche4c59f92011-10-18 12:01:07 +0100141 style="@style/AutofillProfileEditText"
142 android:inputType="textCapWords" />
Ben Murdoch815752a2011-06-16 19:47:08 +0100143 </TableRow>
144 <TableRow>
145 <TextView
Ben Murdoche4c59f92011-10-18 12:01:07 +0100146 style="@style/AutofillProfileTextView"
Ben Murdoch815752a2011-06-16 19:47:08 +0100147 android:text="@string/autofill_profile_editor_phone_number" />
148 <EditText android:id="@+id/autofill_profile_editor_phone_number_edit"
Ben Murdoche4c59f92011-10-18 12:01:07 +0100149 style="@style/AutofillProfileEditText"
Ben Murdoch815752a2011-06-16 19:47:08 +0100150 android:phoneNumber="true" />
151 </TableRow>
152 <TableRow>
153 <TextView
Ben Murdoche4c59f92011-10-18 12:01:07 +0100154 style="@style/AutofillProfileTextView"
Ben Murdoch815752a2011-06-16 19:47:08 +0100155 android:text="@string/autofill_profile_editor_email_address" />
156 <EditText android:id="@+id/autofill_profile_editor_email_address_edit"
Ben Murdoche4c59f92011-10-18 12:01:07 +0100157 style="@style/AutofillProfileEditText"
158 android:inputType="textEmailAddress" />
Ben Murdoch815752a2011-06-16 19:47:08 +0100159 </TableRow>
160 </TableLayout>
161 </LinearLayout>
162 </ScrollView>
Ben Murdoch815752a2011-06-16 19:47:08 +0100163</LinearLayout>
164