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

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

Issue 2688383005: [NTP::Downloads] Show thumbnails for Download suggestions. (Closed)
Patch Set: rebase. Created 3 years, 10 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 650429e5e2020358196fee959ea4ed70fe629a73..eb2f52d8fa2c8604500ca76c6ba4f0a2e17a4d6e 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
@@ -84,14 +84,14 @@
</LinearLayout>
- <ImageView
+ <org.chromium.chrome.browser.widget.TintedImageView
android:id="@+id/article_thumbnail"
android:layout_width="@dimen/snippets_thumbnail_size"
android:layout_height="@dimen/snippets_thumbnail_size"
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
android:layout_marginStart="16dp"
- android:scaleType="centerCrop"
+ android:scaleType="center"
Michael van Ouwerkerk 2017/02/14 13:35:31 Does this change also affect regular article thumb
vitaliii 2017/02/14 16:09:30 Done. Good observation! Now I set different scale
android:contentDescription="@null"
android:src="@null" />
</RelativeLayout>

Powered by Google App Engine
This is Rietveld 408576698