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

Unified Diff: chrome/android/java/res/layout/new_tab_page_snippets_card.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 | « no previous file | chrome/android/java/res/layout/new_tab_page_snippets_card_large_thumbnail.xml » ('j') | 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.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 d59c45866009cc370d583c71a90727c812c86dca..b638198216f6a1f08c380937292698ad4cb63502 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
@@ -23,7 +23,7 @@
android:ellipsize="end"
android:textSize="16sp"
android:textColor="@color/snippets_headline_text_color"
- chrome:leading="24dp" />
+ chrome:leading="24sp" />
<org.chromium.ui.widget.TextViewWithLeading
android:id="@+id/article_snippet"
@@ -37,7 +37,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 | « no previous file | chrome/android/java/res/layout/new_tab_page_snippets_card_large_thumbnail.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698