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 xmlns:app="http://schemas.android.com/apk/res-auto" |
8 android:layout_width="match_parent" | 8 android:layout_width="match_parent" |
9 android:layout_height="match_parent" | 9 android:layout_height="match_parent" |
10 android:fillViewport="true" > | 10 android:fillViewport="true" > |
11 | 11 |
12 <LinearLayout | 12 <LinearLayout |
13 android:layout_width="match_parent" | 13 android:layout_width="match_parent" |
14 android:layout_height="wrap_content" | 14 android:layout_height="wrap_content" |
15 android:orientation="vertical" | 15 android:orientation="vertical" |
16 android:focusableInTouchMode="true" > | 16 android:focusableInTouchMode="true" > |
17 | 17 |
18 <LinearLayout | 18 <LinearLayout |
19 style="@style/PreferenceScreenLayout" | 19 style="@style/PreferenceScreenLayout" |
20 android:layout_width="match_parent" | 20 android:layout_width="match_parent" |
21 android:layout_height="wrap_content" | 21 android:layout_height="wrap_content" |
22 android:orientation="vertical"> | 22 android:orientation="vertical" > |
23 | 23 |
24 <!-- Editable fields for the profile --> | 24 <!-- Editable fields for the profile --> |
25 <TextView | 25 <LinearLayout |
26 android:layout_width="match_parent" | 26 android:layout_width="match_parent" |
27 android:layout_height="wrap_content" | 27 android:layout_height="match_parent" |
28 android:focusable="true" | 28 android:orientation="vertical" |
29 android:textAppearance="@style/PreferenceFloatLabelTextAppearanc
e" | 29 android:layout_marginStart="@dimen/pref_autofill_field_horizonta
l_padding" |
30 android:text="@string/autofill_profile_editor_country" /> | 30 android:layout_marginEnd="@dimen/pref_autofill_field_horizontal_
padding" |
31 <Spinner | 31 android:paddingBottom="5dp" > |
32 android:id="@+id/countries" | 32 <TextView |
33 android:layout_width="fill_parent" | 33 android:layout_width="match_parent" |
34 android:layout_height="wrap_content" /> | 34 android:layout_height="wrap_content" |
| 35 android:focusable="true" |
| 36 android:textAppearance="@style/PreferenceFloatLabelTextAppea
rance" |
| 37 android:text="@string/autofill_profile_editor_country" |
| 38 android:paddingBottom="8dp" /> |
| 39 <Spinner |
| 40 android:id="@+id/countries" |
| 41 android:layout_width="fill_parent" |
| 42 android:layout_height="wrap_content" /> |
| 43 <View style="@style/PreferenceSpinnerUnderlineView" /> |
| 44 </LinearLayout> |
35 | 45 |
36 <LinearLayout | 46 <LinearLayout |
37 android:id="@+id/autofill_profile_widget_root" | 47 android:id="@+id/autofill_profile_widget_root" |
38 android:layout_width="match_parent" | 48 android:layout_width="match_parent" |
39 android:layout_height="wrap_content" | 49 android:layout_height="wrap_content" |
40 android:orientation="vertical" > | 50 android:orientation="vertical" > |
41 </LinearLayout> | 51 </LinearLayout> |
42 | 52 |
43 <org.chromium.chrome.browser.widget.FloatLabelLayout | 53 <org.chromium.chrome.browser.widget.FloatLabelLayout |
44 android:id="@+id/phone_number_label" | 54 android:id="@+id/phone_number_label" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 android:text="@string/cancel" /> | 97 android:text="@string/cancel" /> |
88 | 98 |
89 <Button | 99 <Button |
90 android:id="@+id/autofill_profile_save" | 100 android:id="@+id/autofill_profile_save" |
91 style="@style/ButtonBarButton" | 101 style="@style/ButtonBarButton" |
92 android:text="@string/save" /> | 102 android:text="@string/save" /> |
93 </LinearLayout> | 103 </LinearLayout> |
94 </LinearLayout> | 104 </LinearLayout> |
95 | 105 |
96 </ScrollView> | 106 </ScrollView> |
OLD | NEW |