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

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

Issue 2367373003: [Android] Allow setting recently visited search engines as default search engine (Closed)
Patch Set: Reorganize template_url_serivce_android code. Created 4 years 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 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:padding="6dp"> 12 android:padding="6dp">
13 13
14 <android.widget.RadioButton 14 <android.widget.RadioButton
15 android:id="@+id/radiobutton" 15 android:id="@+id/radiobutton"
16 android:layout_width="wrap_content" 16 android:layout_width="wrap_content"
17 android:layout_height="wrap_content" 17 android:layout_height="wrap_content"
18 android:layout_marginEnd="21dp" 18 android:layout_marginEnd="21dp"
19 android:clickable="false" /> 19 android:clickable="false" />
20 20
21 <LinearLayout 21 <LinearLayout
22 android:layout_width="0dp" 22 android:layout_width="0dp"
23 android:layout_height="wrap_content" 23 android:layout_height="wrap_content"
24 android:layout_weight="1" 24 android:layout_weight="1"
25 android:orientation="vertical"> 25 android:orientation="vertical">
26 <TextView 26 <TextView
27 android:id="@+id/description" 27 android:id="@+id/name"
28 android:layout_width="wrap_content" 28 android:layout_width="wrap_content"
29 android:layout_height="wrap_content" 29 android:layout_height="wrap_content"
30 android:textSize="17sp" /> 30 android:textSize="17sp"
31 android:textColor="@color/fre_text_color" />
gone 2016/11/28 21:37:01 I'd just use default_text_color and then tell Rebe
ltian 2016/11/29 02:44:02 Done.
31 <TextView 32 <TextView
32 android:id="@+id/link" 33 android:id="@+id/url"
34 android:layout_width="wrap_content"
35 android:layout_height="wrap_content"
36 android:textSize="16sp"
37 android:textColor="@color/descriptive_text_color" />
38 <TextView
39 android:id="@+id/location_permission"
33 android:layout_width="wrap_content" 40 android:layout_width="wrap_content"
34 android:layout_height="wrap_content" 41 android:layout_height="wrap_content"
35 android:layout_marginBottom="-12dp" 42 android:layout_marginBottom="-12dp"
36 android:layout_marginTop="-12dp" 43 android:layout_marginTop="-12dp"
37 android:gravity="center_vertical" 44 android:gravity="center_vertical"
38 android:minHeight="48dp" 45 android:minHeight="48dp"
39 android:paddingBottom="12dp" 46 android:paddingBottom="12dp"
40 android:paddingTop="12dp" /> 47 android:paddingTop="12dp" />
41 </LinearLayout> 48 </LinearLayout>
42 49
43 </LinearLayout> 50 </LinearLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698