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

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

Issue 1871343006: [NTP Snippets] 📷 Add placeholders and start caching thumbnails (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: chrome/android/java/res/layout/new_tab_page_snippets_card.xml
diff --git a/chrome/android/java/res/layout/new_tab_page_snippets_card.xml b/chrome/android/java/res/layout/new_tab_page_snippets_card.xml
index 8464c146d051ac431c60bf5471bdeae05c805285..703bfec4ec77b22c4c1ff6237020ad17d0eb6731 100644
--- a/chrome/android/java/res/layout/new_tab_page_snippets_card.xml
+++ b/chrome/android/java/res/layout/new_tab_page_snippets_card.xml
@@ -46,9 +46,10 @@
android:ellipsize="end"
android:textSize="14sp"
android:textColor="@color/snippets_publisher_name_color" />
-
+
<ImageView
android:id="@+id/article_thumbnail"
+ android:background="@color/snippets_thumnail_placeholder_bg"
android:layout_width="@dimen/snippets_thumbnail_size"
android:layout_height="@dimen/snippets_thumbnail_size"
android:layout_alignParentTop="true"

Powered by Google App Engine
This is Rietveld 408576698