diff options
Diffstat (limited to 'res/layout-port/autofill_settings_fragment.xml')
-rw-r--r-- | res/layout-port/autofill_settings_fragment.xml | 168 |
1 files changed, 37 insertions, 131 deletions
diff --git a/res/layout-port/autofill_settings_fragment.xml b/res/layout-port/autofill_settings_fragment.xml index 097074b..9f26fd9 100644 --- a/res/layout-port/autofill_settings_fragment.xml +++ b/res/layout-port/autofill_settings_fragment.xml @@ -43,37 +43,19 @@ android:layout_width="match_parent" /> <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:gravity="center_vertical" - android:layout_margin="2dip" - android:textAppearance="?android:attr/textAppearanceMedium" + style="@style/AutofillProfileTextView" android:text="@string/autofill_profile_editor_name" /> <EditText android:id="@+id/autofill_profile_editor_name_edit" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:gravity="center_vertical" - android:layout_margin="2dip" - android:textAppearance="?android:attr/textAppearanceMedium" - android:inputType="textPersonName|textCapWords" - android:singleLine="true" - android:imeOptions="actionNext" /> + style="@style/AutofillProfileEditText" + android:inputType="textPersonName|textCapWords" /> + <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:gravity="center_vertical" - android:layout_margin="2dip" - android:textAppearance="?android:attr/textAppearanceMedium" + style="@style/AutofillProfileTextView" android:text="@string/autofill_profile_editor_company_name" /> <EditText android:id="@+id/autofill_profile_editor_company_name_edit" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:gravity="center_vertical" - android:layout_margin="2dip" - android:textAppearance="?android:attr/textAppearanceMedium" - android:inputType="textCapWords" - android:singleLine="true" - android:imeOptions="actionNext" /> + style="@style/AutofillProfileEditText" + android:inputType="textCapWords" /> + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" @@ -93,14 +75,9 @@ android:text="@string/autofill_profile_editor_address_line_1_hint" /> </LinearLayout> <EditText android:id="@+id/autofill_profile_editor_address_line_1_edit" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:gravity="center_vertical" - android:layout_margin="2dip" - android:textAppearance="?android:attr/textAppearanceMedium" - android:inputType="textCapWords" - android:singleLine="true" - android:imeOptions="actionNext" /> + style="@style/AutofillProfileEditText" + android:inputType="textCapWords" /> + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" @@ -120,122 +97,51 @@ android:text="@string/autofill_profile_editor_address_line_2_hint" /> </LinearLayout> <EditText android:id="@+id/autofill_profile_editor_address_line_2_edit" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:gravity="bottom" - android:layout_margin="2dip" - android:textAppearance="?android:attr/textAppearanceMedium" - android:inputType="textCapWords" - android:singleLine="true" - android:imeOptions="actionNext" /> + style="@style/AutofillProfileEditText" + android:inputType="textCapWords" /> + <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:gravity="center_vertical" - android:layout_margin="2dip" - android:textAppearance="?android:attr/textAppearanceMedium" + style="@style/AutofillProfileTextView" android:text="@string/autofill_profile_editor_city" /> <EditText android:id="@+id/autofill_profile_editor_city_edit" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:gravity="center_vertical" - android:layout_margin="2dip" - android:inputType="textCapWords" - android:textAppearance="?android:attr/textAppearanceMedium" - android:singleLine="true" - android:imeOptions="actionNext" /> + style="@style/AutofillProfileEditText" + android:inputType="textCapWords" /> + <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:gravity="center_vertical" - android:layout_margin="2dip" - android:textAppearance="?android:attr/textAppearanceMedium" + style="@style/AutofillProfileTextView" android:text="@string/autofill_profile_editor_state" /> <EditText android:id="@+id/autofill_profile_editor_state_edit" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:gravity="center_vertical" - android:layout_margin="2dip" - android:inputType="textCapWords" - android:textAppearance="?android:attr/textAppearanceMedium" - android:singleLine="true" - android:imeOptions="actionNext" /> + style="@style/AutofillProfileEditText" + android:inputType="textCapWords" /> + <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:gravity="center_vertical" - android:layout_margin="2dip" - android:textAppearance="?android:attr/textAppearanceMedium" + style="@style/AutofillProfileTextView" android:text="@string/autofill_profile_editor_zip_code" /> <EditText android:id="@+id/autofill_profile_editor_zip_code_edit" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:gravity="center_vertical" - android:layout_margin="2dip" - android:inputType="textCapCharacters" - android:textAppearance="?android:attr/textAppearanceMedium" - android:singleLine="true" - android:imeOptions="actionNext" /> + style="@style/AutofillProfileEditText" + android:inputType="textCapCharacters" /> + <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:gravity="center_vertical" - android:layout_margin="2dip" - android:textAppearance="?android:attr/textAppearanceMedium" + style="@style/AutofillProfileTextView" android:text="@string/autofill_profile_editor_country" /> <EditText android:id="@+id/autofill_profile_editor_country_edit" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:gravity="center_vertical" - android:layout_margin="2dip" - android:inputType="textCapWords" - android:textAppearance="?android:attr/textAppearanceMedium" - android:singleLine="true" - android:imeOptions="actionNext" /> + style="@style/AutofillProfileEditText" + android:inputType="textCapWords" /> + <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:gravity="center_vertical" - android:layout_margin="2dip" - android:textAppearance="?android:attr/textAppearanceMedium" + style="@style/AutofillProfileTextView" android:text="@string/autofill_profile_editor_phone_number" /> <EditText android:id="@+id/autofill_profile_editor_phone_number_edit" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:gravity="center_vertical" - android:layout_margin="2dip" - android:textAppearance="?android:attr/textAppearanceMedium" - android:singleLine="true" - android:phoneNumber="true" - android:imeOptions="actionNext" /> + style="@style/AutofillProfileEditText" + android:phoneNumber="true" /> + <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:gravity="center_vertical" - android:layout_margin="2dip" - android:textAppearance="?android:attr/textAppearanceMedium" + style="@style/AutofillProfileTextView" android:text="@string/autofill_profile_editor_email_address" /> <EditText android:id="@+id/autofill_profile_editor_email_address_edit" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:gravity="center_vertical" - android:layout_margin="2dip" - android:textAppearance="?android:attr/textAppearanceMedium" + style="@style/AutofillProfileEditText" android:inputType="textEmailAddress" - android:singleLine="true" - android:imeOptions="actionDone" /> + android:imeOptions="actionDone|flagNoExtractUi" /> </LinearLayout> </ScrollView> - - <View - android:layout_height="12dip" - android:layout_width="match_parent" /> - - <Button - android:id="@+id/autofill_profile_editor_save_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/autofill_profile_editor_save_profile" - android:textAppearance="?android:attr/textAppearanceMedium" /> - </LinearLayout> |