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

Unified Diff: chrome/android/java/res/layout/contextual_search_opt_out_promo.xml

Issue 1061063005: [Contextual Search] Fix Promo behavior. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync & rebase Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/android/java/res/values/colors.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/layout/contextual_search_opt_out_promo.xml
diff --git a/chrome/android/java/res/layout/contextual_search_opt_out_promo.xml b/chrome/android/java/res/layout/contextual_search_opt_out_promo.xml
index a92359c48ef66d1a5faeea85337f4c13b539ac18..121d89211a3ee92a2ee788710d1a11133d1a4aa9 100644
--- a/chrome/android/java/res/layout/contextual_search_opt_out_promo.xml
+++ b/chrome/android/java/res/layout/contextual_search_opt_out_promo.xml
@@ -27,22 +27,23 @@
android:bufferType="spannable"
android:textSize="16sp" />
- <Button
+ <org.chromium.chrome.browser.widget.ButtonCompat
android:id="@+id/contextual_search_got_it_button"
android:layout_below="@id/contextual_search_opt_out_text"
android:layout_alignParentEnd="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end"
+ android:layout_marginTop="16dp"
android:layout_marginEnd="16dp"
- android:background="?attr/selectableItemBackground"
android:fontFamily="sans-serif-medium"
android:paddingStart="8dp"
android:paddingEnd="8dp"
android:text="@string/contextual_search_got_it_button"
android:textAllCaps="true"
- android:textColor="@color/light_active_color"
- android:textSize="14sp" />
+ android:textColor="#FFF"
+ android:textSize="14sp"
+ chrome:buttonColor="#4285F4" />
<Button
android:id="@+id/contextual_search_no_thanks_button"
@@ -51,20 +52,22 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end"
+ android:layout_marginTop="16dp"
android:layout_marginEnd="16dp"
- android:background="?attr/selectableItemBackground"
android:fontFamily="sans-serif-medium"
android:paddingStart="8dp"
android:paddingEnd="8dp"
android:text="@string/contextual_search_no_thanks_button"
android:textAllCaps="true"
android:textColor="@color/light_active_color"
- android:textSize="14sp" />
+ android:textSize="14sp"
+ style="@style/ButtonCompatBorderless" />
<View
android:layout_below="@id/contextual_search_got_it_button"
android:layout_width="match_parent"
android:layout_height="1px"
+ android:layout_marginTop="16dp"
android:background="#c2c2c2" />
</org.chromium.chrome.browser.compositor.bottombar.contextualsearch.ContextualSearchOptOutPromo>
« no previous file with comments | « no previous file | chrome/android/java/res/values/colors.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698