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

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

Issue 2149333003: 📰 Adjust the card display depending on the screen width. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ZineTabletUI
Patch Set: address comments Created 4 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_header.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 395ff799d942d150f1f9bdfa500fae2a1d026222..b2a9109b45edbfa6218836d9e5b761006b3b69f8 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,6 @@
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_toStartOf="@+id/article_thumbnail"
- android:lines="2"
android:ellipsize="end"
android:textSize="16sp"
android:textColor="@color/snippets_headline_text_color"
@@ -32,7 +31,7 @@
android:layout_below="@+id/article_headline"
android:layout_toStartOf="@+id/article_thumbnail"
android:layout_marginTop="8dp"
- android:lines="2"
+ android:maxLines="2"
android:ellipsize="end"
android:textSize="14sp"
android:textColor="@color/snippets_text_color"
« no previous file with comments | « no previous file | chrome/android/java/res/layout/new_tab_page_snippets_header.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698