Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(639)

Side by Side Diff: chrome/android/java/res/layout-sw360dp/preference_spinner_single_line.xml

Issue 2805003002: Improve single_line spinner layout (Closed)
Patch Set: change "Time period" to "Time range" Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/android/java/res/layout/preference_spinner_single_line.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2017 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2017 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 SpinnerPreference if singleLine is set to true. --> 6 <!-- Layout used by SpinnerPreference if singleLine is set to true. -->
7 7
8 <RelativeLayout 8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
9 xmlns:android="http://schemas.android.com/apk/res/android"
10 style="@style/PreferenceLayout" 9 style="@style/PreferenceLayout"
11 android:layout_width="match_parent" 10 android:layout_width="match_parent"
12 android:layout_height="wrap_content"> 11 android:layout_height="wrap_content"
12 android:orientation="horizontal"
13 android:paddingEnd="8dp"
14 android:paddingTop="22dp">
13 15
14 <TextView 16 <TextView
15 android:id="@+id/title" 17 android:id="@+id/title"
16 style="@style/PreferenceTitle" 18 style="@style/PreferenceTitle"
17 android:textColor="@color/google_grey_600" 19 android:textColor="@color/google_grey_600"
18 android:textAlignment="viewStart" 20 android:textAlignment="viewStart"
19 android:layout_height="wrap_content" 21 android:layout_height="wrap_content"
20 android:layout_width="wrap_content" 22 android:layout_width="0dp"
21 android:layout_centerVertical="true" 23 android:layout_weight="1" />
22 android:layout_alignParentStart="true"
23 android:layout_toStartOf="@id/spinner" />
24 24
25 <Spinner 25 <Spinner
26 android:id="@+id/spinner" 26 android:id="@+id/spinner"
27 android:layout_height="wrap_content" 27 android:layout_height="wrap_content"
28 android:layout_width="wrap_content" 28 android:layout_width="wrap_content"
29 android:layout_centerVertical="true" 29 android:gravity="end"/>
30 android:layout_alignParentEnd="true" /> 30 </LinearLayout>
31 </RelativeLayout>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/res/layout/preference_spinner_single_line.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698