1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2011 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--> 16<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 17 android:layout_width="match_parent" 18 android:layout_height="match_parent" 19 android:orientation="vertical"> 20 21 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 22 android:layout_width="match_parent" 23 android:layout_height="0px" 24 android:layout_weight="1"> 25 26 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 27 android:layout_width="match_parent" 28 android:layout_height="match_parent" 29 android:orientation="vertical"> 30 31 <View 32 android:layout_height="10dip" 33 android:layout_width="match_parent" /> 34 35 <TextView 36 android:layout_width="wrap_content" 37 android:layout_height="wrap_content" 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 <TextView 46 style="@style/AutofillProfileTextView" 47 android:text="@string/autofill_profile_editor_name" /> 48 <EditText android:id="@+id/autofill_profile_editor_name_edit" 49 style="@style/AutofillProfileEditText" 50 android:inputType="textPersonName|textCapWords" /> 51 52 <TextView 53 style="@style/AutofillProfileTextView" 54 android:text="@string/autofill_profile_editor_company_name" /> 55 <EditText android:id="@+id/autofill_profile_editor_company_name_edit" 56 style="@style/AutofillProfileEditText" 57 android:inputType="textCapWords" /> 58 59 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 60 android:layout_width="wrap_content" 61 android:layout_height="wrap_content" 62 android:layout_margin="2dip" 63 android:orientation="vertical"> 64 <TextView 65 android:layout_width="wrap_content" 66 android:layout_height="wrap_content" 67 android:gravity="center_vertical" 68 android:textAppearance="?android:attr/textAppearanceMedium" 69 android:text="@string/autofill_profile_editor_address_line_1" /> 70 <TextView 71 android:layout_width="wrap_content" 72 android:layout_height="wrap_content" 73 android:gravity="center_vertical" 74 android:textAppearance="?android:attr/textAppearanceSmall" 75 android:text="@string/autofill_profile_editor_address_line_1_hint" /> 76 </LinearLayout> 77 <EditText android:id="@+id/autofill_profile_editor_address_line_1_edit" 78 style="@style/AutofillProfileEditText" 79 android:inputType="textCapWords" /> 80 81 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 82 android:layout_width="wrap_content" 83 android:layout_height="wrap_content" 84 android:layout_margin="2dip" 85 android:orientation="vertical"> 86 <TextView 87 android:layout_width="wrap_content" 88 android:layout_height="wrap_content" 89 android:gravity="center_vertical" 90 android:textAppearance="?android:attr/textAppearanceMedium" 91 android:text="@string/autofill_profile_editor_address_line_2" /> 92 <TextView 93 android:layout_width="wrap_content" 94 android:layout_height="wrap_content" 95 android:gravity="center_vertical" 96 android:textAppearance="?android:attr/textAppearanceSmall" 97 android:text="@string/autofill_profile_editor_address_line_2_hint" /> 98 </LinearLayout> 99 <EditText android:id="@+id/autofill_profile_editor_address_line_2_edit" 100 style="@style/AutofillProfileEditText" 101 android:inputType="textCapWords" /> 102 103 <TextView 104 style="@style/AutofillProfileTextView" 105 android:text="@string/autofill_profile_editor_city" /> 106 <EditText android:id="@+id/autofill_profile_editor_city_edit" 107 style="@style/AutofillProfileEditText" 108 android:inputType="textCapWords" /> 109 110 <TextView 111 style="@style/AutofillProfileTextView" 112 android:text="@string/autofill_profile_editor_state" /> 113 <EditText android:id="@+id/autofill_profile_editor_state_edit" 114 style="@style/AutofillProfileEditText" 115 android:inputType="textCapWords" /> 116 117 <TextView 118 style="@style/AutofillProfileTextView" 119 android:text="@string/autofill_profile_editor_zip_code" /> 120 <EditText android:id="@+id/autofill_profile_editor_zip_code_edit" 121 style="@style/AutofillProfileEditText" 122 android:inputType="textCapCharacters" /> 123 124 <TextView 125 style="@style/AutofillProfileTextView" 126 android:text="@string/autofill_profile_editor_country" /> 127 <EditText android:id="@+id/autofill_profile_editor_country_edit" 128 style="@style/AutofillProfileEditText" 129 android:inputType="textCapWords" /> 130 131 <TextView 132 style="@style/AutofillProfileTextView" 133 android:text="@string/autofill_profile_editor_phone_number" /> 134 <EditText android:id="@+id/autofill_profile_editor_phone_number_edit" 135 style="@style/AutofillProfileEditText" 136 android:phoneNumber="true" /> 137 138 <TextView 139 style="@style/AutofillProfileTextView" 140 android:text="@string/autofill_profile_editor_email_address" /> 141 <EditText android:id="@+id/autofill_profile_editor_email_address_edit" 142 style="@style/AutofillProfileEditText" 143 android:inputType="textEmailAddress" 144 android:imeOptions="actionDone|flagNoExtractUi" /> 145 </LinearLayout> 146 </ScrollView> 147</LinearLayout> 148