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

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

Issue 1978303002: NTP article titles and snippets always use 2 lines. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | 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.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 4c9600d5cdc160bebd9ce1bb70ee52d11e41d26d..2a0c69053f18bdf6751b25ab66dba2bda99ba8cf 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
@@ -18,7 +18,7 @@
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_toStartOf="@+id/article_thumbnail"
- android:maxLines="2"
+ android:lines="2"
android:ellipsize="end"
android:textSize="16sp"
android:textColor="@color/snippets_headline_text_color"
@@ -32,7 +32,7 @@
android:layout_below="@+id/article_headline"
android:layout_toStartOf="@+id/article_thumbnail"
android:layout_marginTop="8dp"
- android:maxLines="2"
+ android:lines="2"
android:ellipsize="end"
android:textSize="14sp"
android:textColor="@color/snippets_text_color"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698