| Index: chrome/android/java/res/layout/preference_spinner_one_line.xml
|
| diff --git a/chrome/android/java/res/layout/preference_spinner.xml b/chrome/android/java/res/layout/preference_spinner_one_line.xml
|
| similarity index 54%
|
| copy from chrome/android/java/res/layout/preference_spinner.xml
|
| copy to chrome/android/java/res/layout/preference_spinner_one_line.xml
|
| index 048ae535b727f309d84413e2cc503cee2bb9ed03..72e3e2d6875580163e29cb1d26063beb16604cea 100644
|
| --- a/chrome/android/java/res/layout/preference_spinner.xml
|
| +++ b/chrome/android/java/res/layout/preference_spinner_one_line.xml
|
| @@ -5,27 +5,26 @@
|
|
|
| <!-- Layout used by SpinnerPreference. -->
|
|
|
| -<LinearLayout
|
| +<RelativeLayout
|
| xmlns:android="http://schemas.android.com/apk/res/android"
|
| - xmlns:chrome="http://schemas.android.com/apk/res-auto"
|
| style="@style/PreferenceLayout"
|
| android:layout_width="match_parent"
|
| - android:layout_height="wrap_content"
|
| - android:orientation="vertical">
|
| + android:layout_height="wrap_content">
|
|
|
| <TextView
|
| android:id="@+id/title"
|
| + style="@style/PreferenceTitle"
|
| + android:textAlignment="viewStart"
|
| android:layout_height="wrap_content"
|
| - android:layout_width="match_parent" />
|
| + android:layout_width="wrap_content"
|
| + android:layout_centerVertical="true"
|
| + android:layout_alignParentStart="true"
|
| + android:layout_toStartOf="@id/spinner" />
|
|
|
| <Spinner
|
| android:id="@+id/spinner"
|
| android:layout_height="wrap_content"
|
| - android:layout_width="match_parent"
|
| - android:paddingStart="0dp"
|
| - android:paddingTop="6dp"
|
| - android:paddingBottom="4dp" />
|
| -
|
| - <View style="@style/PreferenceSpinnerUnderlineView" />
|
| -
|
| -</LinearLayout>
|
| + android:layout_width="wrap_content"
|
| + android:layout_centerVertical="true"
|
| + android:layout_alignParentEnd="true" />
|
| +</RelativeLayout>
|
|
|