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 | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 16 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Ben Murdoch | af55452 | 2010-09-10 22:09:30 +0100 | [diff] [blame] | 17 | android:layout_width="match_parent" |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 18 | android:layout_height="match_parent" |
| 19 | android:orientation="vertical"> |
Ben Murdoch | af55452 | 2010-09-10 22:09:30 +0100 | [diff] [blame] | 20 | |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 21 | <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 22 | android:layout_width="match_parent" |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 23 | android:layout_height="0px" |
| 24 | android:layout_weight="1"> |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 25 | |
Ben Murdoch | d7d2681 | 2010-12-13 14:49:34 +0000 | [diff] [blame] | 26 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 27 | android:layout_width="match_parent" |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 28 | android:layout_height="match_parent" |
| 29 | android:orientation="vertical"> |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 30 | |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 31 | <View |
| 32 | android:layout_height="10dip" |
| 33 | android:layout_width="match_parent" /> |
Ben Murdoch | 36a23dd | 2010-10-13 13:20:06 +0100 | [diff] [blame] | 34 | |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 35 | <TextView |
Ben Murdoch | d7d2681 | 2010-12-13 14:49:34 +0000 | [diff] [blame] | 36 | android:layout_width="wrap_content" |
| 37 | android:layout_height="wrap_content" |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 38 | 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 Murdoch | e4c59f9 | 2011-10-18 12:01:07 +0100 | [diff] [blame^] | 52 | style="@style/AutofillProfileTextView" |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 53 | android:text="@string/autofill_profile_editor_name" /> |
| 54 | <EditText android:id="@+id/autofill_profile_editor_name_edit" |
Ben Murdoch | e4c59f9 | 2011-10-18 12:01:07 +0100 | [diff] [blame^] | 55 | style="@style/AutofillProfileEditText" |
| 56 | android:inputType="textPersonName|textCapWords" /> |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 57 | </TableRow> |
| 58 | <TableRow> |
| 59 | <TextView |
Ben Murdoch | e4c59f9 | 2011-10-18 12:01:07 +0100 | [diff] [blame^] | 60 | style="@style/AutofillProfileTextView" |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 61 | android:text="@string/autofill_profile_editor_company_name" /> |
| 62 | <EditText android:id="@+id/autofill_profile_editor_company_name_edit" |
Ben Murdoch | e4c59f9 | 2011-10-18 12:01:07 +0100 | [diff] [blame^] | 63 | style="@style/AutofillProfileEditText" |
| 64 | android:inputType="textCapWords" /> |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 65 | </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 Murdoch | e4c59f9 | 2011-10-18 12:01:07 +0100 | [diff] [blame^] | 86 | style="@style/AutofillProfileEditText" |
| 87 | android:inputType="textCapWords" /> |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 88 | </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 Murdoch | e4c59f9 | 2011-10-18 12:01:07 +0100 | [diff] [blame^] | 109 | style="@style/AutofillProfileEditText" |
| 110 | android:inputType="textCapWords" /> |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 111 | </TableRow> |
| 112 | <TableRow> |
| 113 | <TextView |
Ben Murdoch | e4c59f9 | 2011-10-18 12:01:07 +0100 | [diff] [blame^] | 114 | style="@style/AutofillProfileTextView" |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 115 | android:text="@string/autofill_profile_editor_city" /> |
| 116 | <EditText android:id="@+id/autofill_profile_editor_city_edit" |
Ben Murdoch | e4c59f9 | 2011-10-18 12:01:07 +0100 | [diff] [blame^] | 117 | style="@style/AutofillProfileEditText" |
| 118 | android:inputType="textCapWords" /> |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 119 | </TableRow> |
| 120 | <TableRow> |
| 121 | <TextView |
Ben Murdoch | e4c59f9 | 2011-10-18 12:01:07 +0100 | [diff] [blame^] | 122 | style="@style/AutofillProfileTextView" |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 123 | android:text="@string/autofill_profile_editor_state" /> |
| 124 | <EditText android:id="@+id/autofill_profile_editor_state_edit" |
Ben Murdoch | e4c59f9 | 2011-10-18 12:01:07 +0100 | [diff] [blame^] | 125 | style="@style/AutofillProfileEditText" |
| 126 | android:inputType="textCapWords" /> |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 127 | </TableRow> |
| 128 | <TableRow> |
| 129 | <TextView |
Ben Murdoch | e4c59f9 | 2011-10-18 12:01:07 +0100 | [diff] [blame^] | 130 | style="@style/AutofillProfileTextView" |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 131 | android:text="@string/autofill_profile_editor_zip_code" /> |
| 132 | <EditText android:id="@+id/autofill_profile_editor_zip_code_edit" |
Ben Murdoch | e4c59f9 | 2011-10-18 12:01:07 +0100 | [diff] [blame^] | 133 | style="@style/AutofillProfileEditText" |
| 134 | android:inputType="textCapCharacters" /> |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 135 | </TableRow> |
| 136 | <TableRow> |
| 137 | <TextView |
Ben Murdoch | e4c59f9 | 2011-10-18 12:01:07 +0100 | [diff] [blame^] | 138 | style="@style/AutofillProfileTextView" |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 139 | android:text="@string/autofill_profile_editor_country" /> |
| 140 | <EditText android:id="@+id/autofill_profile_editor_country_edit" |
Ben Murdoch | e4c59f9 | 2011-10-18 12:01:07 +0100 | [diff] [blame^] | 141 | style="@style/AutofillProfileEditText" |
| 142 | android:inputType="textCapWords" /> |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 143 | </TableRow> |
| 144 | <TableRow> |
| 145 | <TextView |
Ben Murdoch | e4c59f9 | 2011-10-18 12:01:07 +0100 | [diff] [blame^] | 146 | style="@style/AutofillProfileTextView" |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 147 | android:text="@string/autofill_profile_editor_phone_number" /> |
| 148 | <EditText android:id="@+id/autofill_profile_editor_phone_number_edit" |
Ben Murdoch | e4c59f9 | 2011-10-18 12:01:07 +0100 | [diff] [blame^] | 149 | style="@style/AutofillProfileEditText" |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 150 | android:phoneNumber="true" /> |
| 151 | </TableRow> |
| 152 | <TableRow> |
| 153 | <TextView |
Ben Murdoch | e4c59f9 | 2011-10-18 12:01:07 +0100 | [diff] [blame^] | 154 | style="@style/AutofillProfileTextView" |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 155 | android:text="@string/autofill_profile_editor_email_address" /> |
| 156 | <EditText android:id="@+id/autofill_profile_editor_email_address_edit" |
Ben Murdoch | e4c59f9 | 2011-10-18 12:01:07 +0100 | [diff] [blame^] | 157 | style="@style/AutofillProfileEditText" |
| 158 | android:inputType="textEmailAddress" /> |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 159 | </TableRow> |
| 160 | </TableLayout> |
| 161 | </LinearLayout> |
| 162 | </ScrollView> |
Ben Murdoch | 815752a | 2011-06-16 19:47:08 +0100 | [diff] [blame] | 163 | </LinearLayout> |
| 164 | |