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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageToolbar.java

Issue 1958233002: Reland of Update NTP to new material design spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
Index: chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageToolbar.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageToolbar.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageToolbar.java
index f26f491b05e034632f9a75ad22c98b870621d573..b501260683d16b53cb6389e66be5ccb2ec6ff378 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageToolbar.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageToolbar.java
@@ -51,6 +51,8 @@
((TextView) mBookmarksButton.getChildAt(0)).setContentDescription(getResources().getString(
R.string.accessibility_ntp_toolbar_btn_bookmarks));
mInterestsButton = initButton(R.id.interests_button, R.drawable.btn_star_filled);
+
+ setBackgroundColor(NtpColorUtils.getBackgroundColorResource(getResources()));
}
private ViewGroup initButton(int buttonId, int drawableId) {

Powered by Google App Engine
This is Rietveld 408576698