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

Side by Side Diff: chrome/android/java/res/layout/preference_spinner.xml

Issue 1663983003: Add a time period dropdown to the CBD dialog on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
OLDNEW
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698