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

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

Issue 1138183003: Use native radiobutton for Default Search Engine picker dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 5 years, 7 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/src/org/chromium/chrome/browser/preferences/SearchEngineAdapter.java » ('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 2015 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2015 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 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
7 android:layout_width="match_parent" 7 android:layout_width="match_parent"
8 android:layout_height="wrap_content" 8 android:layout_height="wrap_content"
9 android:background="?android:attr/selectableItemBackground" 9 android:background="?android:attr/selectableItemBackground"
10 android:gravity="center_vertical" 10 android:gravity="center_vertical"
11 android:orientation="horizontal" 11 android:orientation="horizontal"
12 android:paddingTop="6dp" 12 android:paddingTop="6dp"
13 android:paddingBottom="6dp"> 13 android:paddingBottom="6dp">
14 14
15 <RadioButton 15 <android.widget.RadioButton
16 android:id="@+id/radiobutton" 16 android:id="@+id/radiobutton"
17 android:layout_width="wrap_content" 17 android:layout_width="wrap_content"
18 android:layout_height="wrap_content" 18 android:layout_height="wrap_content"
19 android:layout_marginStart="21dp" 19 android:layout_marginStart="21dp"
20 android:layout_marginEnd="16dp" 20 android:layout_marginEnd="16dp"
21 android:background="@null"
22 android:clickable="false" /> 21 android:clickable="false" />
23 22
24 <LinearLayout 23 <LinearLayout
25 android:layout_width="0dp" 24 android:layout_width="0dp"
26 android:layout_height="wrap_content" 25 android:layout_height="wrap_content"
27 android:layout_weight="1" 26 android:layout_weight="1"
28 android:orientation="vertical"> 27 android:orientation="vertical">
29 <TextView 28 <TextView
30 android:id="@+id/description" 29 android:id="@+id/description"
31 android:layout_width="wrap_content" 30 android:layout_width="wrap_content"
32 android:layout_height="wrap_content" 31 android:layout_height="wrap_content"
33 android:textSize="17sp" /> 32 android:textSize="17sp" />
34 <TextView 33 <TextView
35 android:id="@+id/link" 34 android:id="@+id/link"
36 android:layout_width="wrap_content" 35 android:layout_width="wrap_content"
37 android:layout_height="wrap_content" 36 android:layout_height="wrap_content"
38 android:layout_marginEnd="21dp" /> 37 android:layout_marginEnd="21dp" />
39 </LinearLayout> 38 </LinearLayout>
40 39
41 </LinearLayout> 40 </LinearLayout>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/preferences/SearchEngineAdapter.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698