summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-11-13 22:02:59 +0300
committerAndrew Dolgov <[email protected]>2014-11-13 22:02:59 +0300
commita30364872cd1491880b6c8ad9796de468cc18501 (patch)
tree7663cfd394d51aaf629b30b0f9b94671af592a5b /org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml
parent57942e84e3b5470e3b9ddc68878759793ed769dc (diff)
use maxlines to limit excerpt size instead of manual ellipsizing
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml')
-rw-r--r--org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml b/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml
index 3128f74a..40cfc827 100644
--- a/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml
+++ b/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml
@@ -116,6 +116,8 @@
android:layout_height="match_parent"
android:lineSpacingExtra="2sp"
android:paddingTop="3dp"
+ android:maxLines="5"
+ android:ellipsize="end"
android:text="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
android:textColor="?headlineExcerptTextColor"
android:textSize="13sp"