| OLD | NEW |
| (Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> |
| 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 |
| 4 found in the LICENSE file. --> |
| 5 |
| 6 <org.chromium.chrome.browser.compositor.bottombar.contextualsearch.ContextualSea
rchOptOutPromo |
| 7 xmlns:android="http://schemas.android.com/apk/res/android" |
| 8 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
| 9 android:id="@+id/contextual_search_opt_out_promo" |
| 10 android:layout_width="match_parent" |
| 11 android:layout_height="wrap_content" |
| 12 android:background="@drawable/contextual_search_promo_background" |
| 13 android:orientation="vertical"> |
| 14 |
| 15 <!-- marginTop = 16dp - 9dp (margin above) --> |
| 16 <org.chromium.ui.widget.TextViewWithClickableSpans |
| 17 android:id="@+id/contextual_search_opt_out_text" |
| 18 android:color="@color/contextual_search_promo_text_color" |
| 19 android:layout_alignParentTop="true" |
| 20 android:layout_alignParentStart="true" |
| 21 android:layout_alignParentEnd="true" |
| 22 android:layout_width="match_parent" |
| 23 android:layout_height="wrap_content" |
| 24 android:layout_marginTop="7dp" |
| 25 android:layout_marginStart="16dp" |
| 26 android:layout_marginEnd="16dp" |
| 27 android:bufferType="spannable" |
| 28 android:textSize="16sp" /> |
| 29 |
| 30 <Button |
| 31 android:id="@+id/contextual_search_got_it_button" |
| 32 android:layout_below="@id/contextual_search_opt_out_text" |
| 33 android:layout_alignParentEnd="true" |
| 34 android:layout_width="wrap_content" |
| 35 android:layout_height="wrap_content" |
| 36 android:layout_gravity="end" |
| 37 android:layout_marginEnd="16dp" |
| 38 android:background="?attr/selectableItemBackground" |
| 39 android:fontFamily="sans-serif-medium" |
| 40 android:paddingStart="8dp" |
| 41 android:paddingEnd="8dp" |
| 42 android:text="@string/contextual_search_got_it_button" |
| 43 android:textAllCaps="true" |
| 44 android:textColor="@color/light_active_color" |
| 45 android:textSize="14sp" /> |
| 46 |
| 47 <Button |
| 48 android:id="@+id/contextual_search_no_thanks_button" |
| 49 android:layout_below="@id/contextual_search_opt_out_text" |
| 50 android:layout_toStartOf="@id/contextual_search_got_it_button" |
| 51 android:layout_width="wrap_content" |
| 52 android:layout_height="wrap_content" |
| 53 android:layout_gravity="end" |
| 54 android:layout_marginEnd="16dp" |
| 55 android:background="?attr/selectableItemBackground" |
| 56 android:fontFamily="sans-serif-medium" |
| 57 android:paddingStart="8dp" |
| 58 android:paddingEnd="8dp" |
| 59 android:text="@string/contextual_search_no_thanks_button" |
| 60 android:textAllCaps="true" |
| 61 android:textColor="@color/light_active_color" |
| 62 android:textSize="14sp" /> |
| 63 |
| 64 <View |
| 65 android:layout_below="@id/contextual_search_got_it_button" |
| 66 android:layout_width="match_parent" |
| 67 android:layout_height="1px" |
| 68 android:background="#c2c2c2" /> |
| 69 |
| 70 </org.chromium.chrome.browser.compositor.bottombar.contextualsearch.ContextualSe
archOptOutPromo> |
| OLD | NEW |