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 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 <!-- Layout used by ButtonPreference for the button widget style. --> | 6 <!-- Layout used by SpinnerPreference. --> |
7 | 7 |
8 <LinearLayout | 8 <LinearLayout |
9 xmlns:android="http://schemas.android.com/apk/res/android" | 9 xmlns:android="http://schemas.android.com/apk/res/android" |
10 xmlns:chrome="http://schemas.android.com/apk/res-auto" | 10 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
11 style="@style/PreferenceLayout" | 11 style="@style/PreferenceLayout" |
12 android:layout_width="match_parent" | 12 android:layout_width="match_parent" |
13 android:layout_height="wrap_content" | 13 android:layout_height="wrap_content" |
14 android:clipToPadding="false" | |
15 android:gravity="center_vertical" | |
16 android:orientation="vertical"> | 14 android:orientation="vertical"> |
17 | 15 |
18 <org.chromium.ui.widget.ButtonCompat | 16 <TextView |
19 android:id="@+id/button_preference" | 17 android:id="@+id/title" |
20 android:layout_height="wrap_content" | 18 android:layout_height="wrap_content" |
21 android:layout_width="wrap_content" | 19 android:layout_width="match_parent" /> |
22 android:minHeight="40dp" | 20 |
23 android:textColor="#fff" | 21 <Spinner |
24 chrome:buttonColor="@color/pref_accent_color" /> | 22 android:id="@+id/spinner" |
| 23 android:layout_height="wrap_content" |
| 24 android:layout_width="match_parent" /> |
| 25 |
| 26 <View style="@style/PreferenceSpinnerUnderlineView" /> |
25 | 27 |
26 </LinearLayout> | 28 </LinearLayout> |
OLD | NEW |