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

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

Issue 2973513002: Specify leading in sp units to it scales with the text. (Closed)
Patch Set: Created 3 years, 5 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/layout/new_tab_page_snippets_card.xml ('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/new_tab_page_snippets_card_large_thumbnail.xml
diff --git a/chrome/android/java/res/layout/new_tab_page_snippets_card_large_thumbnail.xml b/chrome/android/java/res/layout/new_tab_page_snippets_card_large_thumbnail.xml
index f59cd8eef507e8719cd675e3a4e39364b9a10ef0..7a866f3f1a8727f1c219f46b9abf04244beb912a 100644
--- a/chrome/android/java/res/layout/new_tab_page_snippets_card_large_thumbnail.xml
+++ b/chrome/android/java/res/layout/new_tab_page_snippets_card_large_thumbnail.xml
@@ -32,7 +32,7 @@
android:ellipsize="end"
android:textSize="16sp"
android:textColor="@color/snippets_headline_text_color"
- chrome:leading="22dp" />
+ chrome:leading="22sp" />
<org.chromium.ui.widget.TextViewWithLeading
android:id="@+id/article_snippet"
@@ -43,7 +43,7 @@
android:ellipsize="end"
android:textSize="14sp"
android:textColor="@color/snippets_text_color"
- chrome:leading="20dp" />
+ chrome:leading="20sp" />
<LinearLayout
tools:ignore="UseCompoundDrawables"
« no previous file with comments | « chrome/android/java/res/layout/new_tab_page_snippets_card.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698