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

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

Issue 2367373003: [Android] Allow setting recently visited search engines as default search engine (Closed)
Patch Set: Update based on Peter and Dan's comments. 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
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
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
4 found in the LICENSE file. -->
5
6 <LinearLayout
7 xmlns:android="http://schemas.android.com/apk/res/android"
8 xmlns:chrome="http://schemas.android.com/apk/res-auto"
9 android:layout_width="match_parent"
10 android:layout_height="match_parent"
11 android:paddingTop="6dp"
12 android:orientation="vertical">
13
14 <ListView
15 android:id="@android:id/list"
16 android:layout_width="match_parent"
17 android:layout_height="0dp"
18 android:layout_weight="1"/>
19
20 <View
21 android:id="@+id/bottom_shadow"
22 android:layout_width="match_parent"
23 android:layout_height="1dp"
24 android:background="@drawable/toolbar_shadow_normal"
25 android:scaleY="-1"
26 android:visibility="invisible" />
27
28 <LinearLayout
29 android:layout_width="match_parent"
30 android:layout_height="56dp"
31 android:orientation="horizontal"
32 android:gravity="end"
33 android:paddingStart="6dp"
34 android:paddingEnd="6dp">
35
36 <Button
37 android:id="@+id/cancel_button"
38 style="@style/ButtonCompatBorderless"
39 android:layout_width="wrap_content"
40 android:layout_height="wrap_content"
41 android:textColor="@color/light_active_color"
42 android:text="@string/cancel"
43 android:textAllCaps="true"
44 android:textSize="14sp"
45 android:layout_marginEnd="16dp"
46 android:layout_gravity="center_vertical"/>
47
48 <org.chromium.ui.widget.ButtonCompat
49 android:id="@+id/save_button"
50 android:layout_width="wrap_content"
51 android:layout_height="wrap_content"
52 android:textColor="@android:color/white"
53 android:text="@string/save"
54 android:textAllCaps="true"
55 android:textSize="14sp"
56 android:layout_marginEnd="8dp"
57 chrome:buttonColor="@color/light_active_color"
58 chrome:buttonRaised="false"
59 android:layout_gravity="center_vertical"/>
60
61 </LinearLayout>
62
63 </LinearLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698