OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2014 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2014 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 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | 6 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
| 7 xmlns:app="http://schemas.android.com/apk/res-auto" |
7 android:layout_width="match_parent" | 8 android:layout_width="match_parent" |
8 android:layout_height="match_parent" | 9 android:layout_height="match_parent" |
9 android:fillViewport="true" | 10 android:fillViewport="true" |
10 android:scrollbarStyle="outsideOverlay" > | 11 android:scrollbarStyle="outsideOverlay" > |
11 | 12 |
12 <LinearLayout | 13 <LinearLayout |
13 android:layout_width="match_parent" | 14 android:layout_width="match_parent" |
14 android:layout_height="wrap_content" | 15 android:layout_height="wrap_content" |
15 android:orientation="vertical" > | 16 android:orientation="vertical" > |
16 | 17 |
17 <LinearLayout | 18 <LinearLayout |
18 style="@style/PreferenceScreenLayout" | 19 style="@style/PreferenceScreenLayout" |
19 android:layout_width="match_parent" | 20 android:layout_width="match_parent" |
20 android:layout_height="wrap_content" | 21 android:layout_height="wrap_content" |
21 android:orientation="vertical" | 22 android:orientation="vertical" |
22 android:focusableInTouchMode="true" > | 23 android:focusableInTouchMode="true" > |
23 | 24 |
| 25 <org.chromium.chrome.browser.widget.FloatLabelLayout |
| 26 android:layout_width="match_parent" |
| 27 android:layout_height="wrap_content" > |
| 28 <EditText |
| 29 android:id="@+id/autofill_credit_card_editor_name_edit" |
| 30 android:layout_width="match_parent" |
| 31 android:layout_height="wrap_content" |
| 32 android:imeOptions="flagNoExtractUi" |
| 33 android:contentDescription="@string/accessibility_autofill_c
c_name_textbox" |
| 34 android:inputType="textCapWords" |
| 35 android:hint="@string/autofill_credit_card_editor_name" /> |
| 36 </org.chromium.chrome.browser.widget.FloatLabelLayout> |
| 37 |
| 38 <org.chromium.chrome.browser.widget.FloatLabelLayout |
| 39 android:layout_width="match_parent" |
| 40 android:layout_height="wrap_content" > |
| 41 <EditText |
| 42 android:id="@+id/autofill_credit_card_editor_number_edit" |
| 43 android:layout_width="match_parent" |
| 44 android:contentDescription="@string/accessibility_autofill_c
c_number_textbox" |
| 45 android:layout_height="wrap_content" |
| 46 android:imeOptions="flagNoExtractUi" |
| 47 android:inputType="phone" |
| 48 android:digits="0123456789- " |
| 49 android:hint="@string/autofill_credit_card_editor_number" /> |
| 50 </org.chromium.chrome.browser.widget.FloatLabelLayout> |
| 51 |
24 <TextView | 52 <TextView |
25 style="@style/BoldTextFieldLabel" | |
26 android:text="@string/autofill_credit_card_editor_name" /> | |
27 | |
28 <EditText | |
29 android:id="@+id/autofill_credit_card_editor_name_edit" | |
30 android:layout_width="match_parent" | 53 android:layout_width="match_parent" |
31 android:layout_height="wrap_content" | 54 android:layout_height="wrap_content" |
32 android:imeOptions="flagNoExtractUi" | 55 android:paddingTop="10dp" |
33 android:contentDescription="@string/accessibility_autofill_cc_na
me_textbox" | 56 android:textAppearance="@style/PreferenceFloatLabelTextAppearanc
e" |
34 android:inputType="textCapWords" /> | |
35 | |
36 <TextView | |
37 style="@style/BoldTextFieldLabel" | |
38 android:text="@string/autofill_credit_card_editor_number" /> | |
39 | |
40 <EditText | |
41 android:id="@+id/autofill_credit_card_editor_number_edit" | |
42 android:layout_width="match_parent" | |
43 android:contentDescription="@string/accessibility_autofill_cc_nu
mber_textbox" | |
44 android:layout_height="wrap_content" | |
45 android:imeOptions="flagNoExtractUi" | |
46 android:inputType="phone" | |
47 android:digits="0123456789- "/> | |
48 | |
49 <TextView | |
50 style="@style/BoldTextFieldLabel" | |
51 android:text="@string/autofill_credit_card_editor_expiration_dat
e" /> | 57 android:text="@string/autofill_credit_card_editor_expiration_dat
e" /> |
52 | 58 |
53 <LinearLayout | 59 <LinearLayout |
54 android:layout_width="match_parent" | 60 android:layout_width="match_parent" |
55 android:layout_height="wrap_content" | 61 android:layout_height="wrap_content" |
56 android:orientation="horizontal" > | 62 android:orientation="horizontal" > |
57 | 63 |
58 <Spinner | 64 <Spinner |
59 android:id="@+id/autofill_credit_card_editor_month_spinner" | 65 android:id="@+id/autofill_credit_card_editor_month_spinner" |
60 android:layout_width="0dp" | 66 android:layout_width="0dp" |
(...skipping 27 matching lines...) Expand all Loading... |
88 android:text="@string/cancel" /> | 94 android:text="@string/cancel" /> |
89 | 95 |
90 <Button | 96 <Button |
91 android:id="@+id/autofill_credit_card_save" | 97 android:id="@+id/autofill_credit_card_save" |
92 style="@style/ButtonBarButton" | 98 style="@style/ButtonBarButton" |
93 android:text="@string/save" /> | 99 android:text="@string/save" /> |
94 </LinearLayout> | 100 </LinearLayout> |
95 </LinearLayout> | 101 </LinearLayout> |
96 | 102 |
97 </ScrollView> | 103 </ScrollView> |
OLD | NEW |