| OLD | NEW |
| 1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. --> | 4 found in the LICENSE file. --> |
| 5 | 5 |
| 6 <merge | 6 <merge |
| 7 xmlns:android="http://schemas.android.com/apk/res/android" | 7 xmlns:android="http://schemas.android.com/apk/res/android" |
| 8 xmlns:app="http://schemas.android.com/apk/res-auto"> | 8 xmlns:app="http://schemas.android.com/apk/res-auto"> |
| 9 | 9 |
| 10 <!-- Name --> | 10 <!-- Name --> |
| 11 <org.chromium.chrome.browser.widget.CompatibilityTextInputLayout | 11 <org.chromium.chrome.browser.widget.CompatibilityTextInputLayout |
| 12 android:id="@+id/credit_card_name_label" | 12 android:id="@+id/credit_card_name_label" |
| 13 android:labelFor="@+id/credit_card_name_edit" | 13 android:labelFor="@+id/credit_card_name_edit" |
| 14 android:layout_width="match_parent" | 14 android:layout_width="match_parent" |
| 15 android:layout_height="wrap_content" | 15 android:layout_height="wrap_content" |
| 16 android:layout_marginBottom="@dimen/pref_autofill_content_spacing"> | 16 android:layout_marginTop="@dimen/pref_autofill_field_large_top_margin" |
| 17 android:layout_marginBottom="@dimen/pref_autofill_field_bottom_margin"> |
| 17 | 18 |
| 18 <EditText | 19 <EditText |
| 19 android:id="@+id/credit_card_name_edit" | 20 android:id="@+id/credit_card_name_edit" |
| 20 android:layout_width="match_parent" | 21 android:layout_width="match_parent" |
| 21 android:layout_height="wrap_content" | 22 android:layout_height="wrap_content" |
| 22 android:imeOptions="flagNoExtractUi" | 23 android:imeOptions="flagNoExtractUi" |
| 23 android:inputType="textCapWords" | 24 android:inputType="textCapWords" |
| 24 android:hint="@string/autofill_credit_card_editor_name" /> | 25 android:hint="@string/autofill_credit_card_editor_name" /> |
| 25 | 26 |
| 26 </org.chromium.chrome.browser.widget.CompatibilityTextInputLayout> | 27 </org.chromium.chrome.browser.widget.CompatibilityTextInputLayout> |
| 27 | 28 |
| 28 <!-- Credit card number --> | 29 <!-- Credit card number --> |
| 29 <org.chromium.chrome.browser.widget.CompatibilityTextInputLayout | 30 <org.chromium.chrome.browser.widget.CompatibilityTextInputLayout |
| 30 android:id="@+id/credit_card_number_label" | 31 android:id="@+id/credit_card_number_label" |
| 31 android:labelFor="@+id/credit_card_number_edit" | 32 android:labelFor="@+id/credit_card_number_edit" |
| 32 android:layout_width="match_parent" | 33 android:layout_width="match_parent" |
| 33 android:layout_height="wrap_content" | 34 android:layout_height="wrap_content" |
| 34 android:layout_marginBottom="@dimen/pref_autofill_content_spacing"> | 35 android:layout_marginTop="@dimen/pref_autofill_field_top_margin" |
| 36 android:layout_marginBottom="@dimen/pref_autofill_field_bottom_margin"> |
| 35 | 37 |
| 36 <EditText | 38 <EditText |
| 37 android:id="@+id/credit_card_number_edit" | 39 android:id="@+id/credit_card_number_edit" |
| 38 android:layout_width="match_parent" | 40 android:layout_width="match_parent" |
| 39 android:layout_height="wrap_content" | 41 android:layout_height="wrap_content" |
| 40 android:imeOptions="flagNoExtractUi" | 42 android:imeOptions="flagNoExtractUi" |
| 41 android:inputType="phone" | 43 android:inputType="phone" |
| 42 android:digits="0123456789- " | 44 android:digits="0123456789- " |
| 43 android:hint="@string/autofill_credit_card_editor_number" /> | 45 android:hint="@string/autofill_credit_card_editor_number" /> |
| 44 | 46 |
| 45 </org.chromium.chrome.browser.widget.CompatibilityTextInputLayout> | 47 </org.chromium.chrome.browser.widget.CompatibilityTextInputLayout> |
| 46 | 48 |
| 47 <!-- Expiration date --> | 49 <!-- Expiration date --> |
| 48 <TextView | 50 <TextView |
| 49 android:id="@+id/credit_card_expiration_label" | 51 android:id="@+id/credit_card_expiration_label" |
| 50 android:labelFor="@+id/credit_card_expiration_month" | 52 android:labelFor="@+id/credit_card_expiration_month" |
| 51 android:layout_width="match_parent" | 53 android:layout_width="match_parent" |
| 52 android:layout_height="wrap_content" | 54 android:layout_height="wrap_content" |
| 55 android:layout_marginTop="@dimen/pref_autofill_field_top_margin" |
| 53 android:layout_marginStart="@dimen/pref_autofill_field_horizontal_paddin
g" | 56 android:layout_marginStart="@dimen/pref_autofill_field_horizontal_paddin
g" |
| 54 android:layout_marginEnd="@dimen/pref_autofill_field_horizontal_padding" | 57 android:layout_marginEnd="@dimen/pref_autofill_field_horizontal_padding" |
| 55 android:textAppearance="@style/PreferenceFloatLabelTextAppearance" | 58 android:textAppearance="@style/PreferenceFloatLabelTextAppearance" |
| 56 android:text="@string/autofill_credit_card_editor_expiration_date" /> | 59 android:text="@string/autofill_credit_card_editor_expiration_date" /> |
| 57 | 60 |
| 58 <LinearLayout | 61 <LinearLayout |
| 59 android:id="@+id/credit_card_expiration_container" | 62 android:id="@+id/credit_card_expiration_container" |
| 60 android:layout_width="match_parent" | 63 android:layout_width="match_parent" |
| 61 android:layout_height="wrap_content" | 64 android:layout_height="wrap_content" |
| 62 android:layout_marginTop="@dimen/pref_autofill_field_top_margin" | 65 android:layout_marginTop="@dimen/pref_autofill_field_top_margin" |
| 63 android:layout_marginBottom="@dimen/pref_autofill_content_spacing" | 66 android:layout_marginBottom="@dimen/pref_autofill_dropdown_bottom_margin
" |
| 64 android:layout_marginStart="@dimen/pref_autofill_field_horizontal_paddin
g" | 67 android:layout_marginStart="@dimen/pref_autofill_field_horizontal_paddin
g" |
| 65 android:layout_marginEnd="@dimen/pref_autofill_field_horizontal_padding" | 68 android:layout_marginEnd="@dimen/pref_autofill_field_horizontal_padding" |
| 66 android:orientation="horizontal" | 69 android:orientation="horizontal" |
| 67 android:baselineAligned="false"> | 70 android:baselineAligned="false"> |
| 68 | 71 |
| 69 <LinearLayout | 72 <LinearLayout |
| 70 android:id="@+id/credit_card_expiration_month" | 73 android:id="@+id/credit_card_expiration_month" |
| 71 android:layout_width="0dp" | 74 android:layout_width="0dp" |
| 72 android:layout_height="wrap_content" | 75 android:layout_height="wrap_content" |
| 73 android:layout_weight="1" | 76 android:layout_weight="1" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 94 android:layout_width="match_parent" | 97 android:layout_width="match_parent" |
| 95 android:layout_height="wrap_content" /> | 98 android:layout_height="wrap_content" /> |
| 96 | 99 |
| 97 <View style="@style/PreferenceSpinnerUnderlineView" /> | 100 <View style="@style/PreferenceSpinnerUnderlineView" /> |
| 98 | 101 |
| 99 </LinearLayout> | 102 </LinearLayout> |
| 100 </LinearLayout> | 103 </LinearLayout> |
| 101 | 104 |
| 102 <include layout="@layout/autofill_billing_address_dropdown" /> | 105 <include layout="@layout/autofill_billing_address_dropdown" /> |
| 103 </merge> | 106 </merge> |
| OLD | NEW |