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 <LinearLayout | 6 <LinearLayout |
7 xmlns:android="http://schemas.android.com/apk/res/android" | 7 xmlns:android="http://schemas.android.com/apk/res/android" |
8 android:layout_width="match_parent" | 8 android:layout_width="match_parent" |
9 android:layout_height="wrap_content" | 9 android:layout_height="wrap_content" |
10 android:orientation="vertical" | 10 android:layout_marginBottom="@dimen/pref_autofill_content_spacing" |
11 android:paddingBottom="@dimen/pref_autofill_content_spacing" | 11 android:layout_marginStart="@dimen/pref_autofill_field_horizontal_paddin
g" |
12 android:paddingStart="@dimen/pref_autofill_field_horizontal_padding" | 12 android:layout_marginEnd="@dimen/pref_autofill_field_horizontal_padding" |
13 android:paddingEnd="@dimen/pref_autofill_field_horizontal_padding"> | 13 android:orientation="vertical"> |
14 | 14 |
15 <TextView | 15 <TextView |
16 android:id="@+id/spinner_label" | 16 android:id="@+id/spinner_label" |
17 android:layout_width="match_parent" | 17 android:layout_width="match_parent" |
18 android:layout_height="wrap_content" | 18 android:layout_height="wrap_content" |
19 android:textAppearance="@style/PreferenceFloatLabelTextAppearance" /
> | 19 android:textAppearance="@style/PreferenceFloatLabelTextAppearance" /
> |
20 | 20 |
21 <android.support.v7.widget.AppCompatSpinner | 21 <android.support.v7.widget.AppCompatSpinner |
22 android:id="@+id/spinner" | 22 android:id="@+id/spinner" |
23 android:layout_width="fill_parent" | 23 android:layout_width="fill_parent" |
24 android:layout_height="wrap_content" | 24 android:layout_height="wrap_content" |
25 android:layout_marginTop="@dimen/pref_autofill_field_top_margin" /> | 25 android:layout_marginTop="@dimen/pref_autofill_field_top_margin" /> |
26 | 26 |
27 <View style="@style/PreferenceSpinnerUnderlineView" /> | 27 <View style="@style/PreferenceSpinnerUnderlineView" /> |
28 | 28 |
29 </LinearLayout> | 29 </LinearLayout> |
OLD | NEW |