Index: chrome/android/java/res/layout/preference_spinner_custom_item.xml |
diff --git a/chrome/android/java/res/layout/preference_spinner_custom_item.xml b/chrome/android/java/res/layout/preference_spinner_custom_item.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..968c2cb6ada8b9d85debb3e01bd507fbbf691cbc |
--- /dev/null |
+++ b/chrome/android/java/res/layout/preference_spinner_custom_item.xml |
@@ -0,0 +1,16 @@ |
+<?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. --> |
+ |
+<TextView xmlns:android="http://schemas.android.com/apk/res/android" |
+ android:id="@android:id/text1" |
+ style="?android:attr/spinnerItemStyle" |
+ android:maxLines="1" |
+ android:textSize="16sp" |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ android:ellipsize="marquee" |
+ android:textAlignment="inherit"/> |