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

Unified Diff: chrome/android/java/res/values/dimens.xml

Issue 2789133002: [NTP::Downloads] Store file type icon padding as a constant. (Closed)
Patch Set: mvanouwerkerk@ nits. Created 3 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 | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetArticleViewHolder.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/values/dimens.xml
diff --git a/chrome/android/java/res/values/dimens.xml b/chrome/android/java/res/values/dimens.xml
index cd322aa1db5c6d2db79731e40beb2753ac01755b..8ac748df79ce2f522eb7b54e829fba5883cce9d5 100644
--- a/chrome/android/java/res/values/dimens.xml
+++ b/chrome/android/java/res/values/dimens.xml
@@ -305,6 +305,8 @@
<dimen name="ntp_sign_in_promo_margin_top">20dp</dimen>
<dimen name="ntp_progress_indicator_diameter">56dp</dimen>
<dimen name="snippets_thumbnail_size">72dp</dimen>
+ <!-- file type icon size = snippets_thumbnail_size - 2 * padding -->
+ <dimen name="snippets_thumbnail_file_type_icon_padding">20dp</dimen>
<dimen name="snippets_thumbnail_margin">16dp</dimen>
<!-- The default padding for the peeking card and the amount the card peeks by in the current
peeking card animation (the calculations assume this is the same). -->
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetArticleViewHolder.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698