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

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

Issue 1817093004: [NTP Offline Pages] Use the "offline bolt" icon, delete the old one (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Created 4 years, 9 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 | « chrome/android/java/res/drawable-xxxhdpi/offline_pin.png ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/layout/most_visited_item.xml
diff --git a/chrome/android/java/res/layout/most_visited_item.xml b/chrome/android/java/res/layout/most_visited_item.xml
index c3345bdccc02de525c407ba3f1569b661d6eb791..cb0361563afa580236772cd30d61c22c28e44680 100644
--- a/chrome/android/java/res/layout/most_visited_item.xml
+++ b/chrome/android/java/res/layout/most_visited_item.xml
@@ -6,6 +6,7 @@
<!-- A most visited item, for display on the new tab page. -->
<org.chromium.chrome.browser.ntp.MostVisitedItemView
xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:chrome="http://schemas.android.com/apk/res-auto"
android:layout_width="@dimen/most_visited_tile_width"
android:layout_height="wrap_content"
android:paddingStart="4dp"
@@ -20,7 +21,7 @@
android:layout_marginTop="12dp"
android:contentDescription="@null" />
- <ImageView
+ <org.chromium.chrome.browser.widget.TintedImageView
android:id="@+id/offline_badge"
android:layout_width="@dimen/most_visited_offline_badge_size"
android:layout_height="@dimen/most_visited_offline_badge_size"
@@ -28,7 +29,8 @@
android:visibility="gone"
android:background="@drawable/offline_badge_background"
android:contentDescription="@null"
- android:src="@drawable/offline_pin" />
+ chrome:tint="#4285f4"
+ android:src="@drawable/offline_bolt" />
<View
android:layout_width="@dimen/most_visited_icon_size"
« no previous file with comments | « chrome/android/java/res/drawable-xxxhdpi/offline_pin.png ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698