Index: chrome/android/java/res/layout/preference_spinner_custom.xml |
diff --git a/chrome/android/java/res/layout/preference_spinner_custom.xml b/chrome/android/java/res/layout/preference_spinner_custom.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..01f8bf22d51784ec872043f51bb5ca2c3842a522 |
--- /dev/null |
+++ b/chrome/android/java/res/layout/preference_spinner_custom.xml |
@@ -0,0 +1,28 @@ |
+<?xml version="1.0" encoding="utf-8"?> |
+<!-- Copyright 2017 The Chromium Authors. All rights reserved. |
+ Use of this source code is governed by a BSD-style license that can be |
+ found in the LICENSE file. --> |
+ |
+<!-- Layout used by SpinnerPreference if customLayout is set to true. --> |
+ |
+<LinearLayout |
+ xmlns:android="http://schemas.android.com/apk/res/android" |
+ style="@style/PreferenceLayout" |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ android:orientation="vertical"> |
+ |
+ <TextView |
+ android:id="@+id/title" |
+ android:layout_height="wrap_content" |
+ android:layout_width="match_parent" /> |
+ |
+ <Spinner |
+ android:id="@+id/spinner" |
+ android:layout_height="wrap_content" |
+ android:layout_width="match_parent" |
+ android:textSize="16sp" |
+ android:paddingStart="0dp" |
+ android:paddingTop="6dp" /> |
+ |
+</LinearLayout> |