OLD | NEW |
(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 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
| 7 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
| 8 android:layout_width="wrap_content" |
| 9 android:layout_height="wrap_content" |
| 10 android:background="#FAFAFA" > |
| 11 |
| 12 <LinearLayout |
| 13 android:layout_width="wrap_content" |
| 14 android:layout_height="wrap_content" |
| 15 android:layout_marginTop="10dp" |
| 16 android:orientation="vertical" |
| 17 android:padding="20dp" > |
| 18 |
| 19 <ImageView |
| 20 android:layout_width="wrap_content" |
| 21 android:layout_height="wrap_content" |
| 22 android:layout_gravity="center_horizontal" |
| 23 android:layout_margin="22dp" |
| 24 android:contentDescription="@null" |
| 25 android:src="@drawable/search_sogou" /> |
| 26 |
| 27 <TextView |
| 28 android:id="@+id/title" |
| 29 android:layout_width="wrap_content" |
| 30 android:layout_height="wrap_content" |
| 31 android:layout_marginBottom="14dp" |
| 32 android:text="@string/search_with_sogou" |
| 33 android:textColor="@color/default_text_color" |
| 34 android:textSize="16sp" /> |
| 35 |
| 36 <TextView |
| 37 android:id="@+id/description" |
| 38 android:layout_width="wrap_content" |
| 39 android:layout_height="wrap_content" |
| 40 android:layout_marginBottom="30dp" |
| 41 android:lineSpacingMultiplier="1.3" |
| 42 android:textColor="#646464" |
| 43 android:textSize="14sp" /> |
| 44 |
| 45 <LinearLayout |
| 46 android:layout_width="match_parent" |
| 47 android:layout_height="wrap_content" |
| 48 android:clipToPadding="false" |
| 49 android:gravity="end" |
| 50 android:orientation="horizontal" > |
| 51 |
| 52 <Button |
| 53 android:id="@+id/keep_google_button" |
| 54 style="@style/ButtonCompatBorderless" |
| 55 android:layout_width="wrap_content" |
| 56 android:layout_height="match_parent" |
| 57 android:layout_marginEnd="8dp" |
| 58 android:minHeight="40dp" |
| 59 android:text="@string/keep_google" |
| 60 android:textAllCaps="true" |
| 61 android:textColor="@color/light_active_color" |
| 62 android:textSize="13sp" /> |
| 63 |
| 64 <org.chromium.ui.widget.ButtonCompat |
| 65 android:id="@+id/ok_button" |
| 66 android:layout_width="wrap_content" |
| 67 android:layout_height="match_parent" |
| 68 android:elevation="0dp" |
| 69 android:minHeight="30dp" |
| 70 android:text="@string/ok" |
| 71 android:textAllCaps="true" |
| 72 android:textColor="#FFFFFF" |
| 73 android:textSize="13sp" |
| 74 chrome:buttonColor="@color/light_active_color" |
| 75 chrome:buttonRaised="false" /> |
| 76 </LinearLayout> |
| 77 </LinearLayout> |
| 78 |
| 79 </ScrollView> |
OLD | NEW |