diff options
author | Andrew Dolgov <[email protected]> | 2015-07-17 10:44:38 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-07-17 10:44:38 +0300 |
commit | 0c7250442137bcd07bbaf1f8fff847218ba53c41 (patch) | |
tree | 7c7b0c56dac60697637b33d6b79d27b60e24d0ef /org.fox.ttrss | |
parent | 1264f3043c7cb869c13a2b2534bba639d57e0aea (diff) |
limit headline row titles to 3 lines
Diffstat (limited to 'org.fox.ttrss')
-rwxr-xr-x | org.fox.ttrss/src/main/res/layout/headlines_row.xml | 4 | ||||
-rwxr-xr-x | org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row.xml b/org.fox.ttrss/src/main/res/layout/headlines_row.xml index d44b0792..f06e1d40 100755 --- a/org.fox.ttrss/src/main/res/layout/headlines_row.xml +++ b/org.fox.ttrss/src/main/res/layout/headlines_row.xml @@ -73,7 +73,9 @@ android:text="Sample entry title" android:textColor="?headlineExcerptTextColor" android:textSize="18sp" - android:textStyle="normal" /> + android:textStyle="normal" + android:maxLines="3" + android:ellipsize="end" /> <LinearLayout android:layout_width="match_parent" 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 dd991872..cca55565 100755 --- a/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml +++ b/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml @@ -74,7 +74,9 @@ android:text="Sample entry title" android:textColor="?headlineUnreadTextColor" android:textSize="18sp" - android:textStyle="bold" /> + android:textStyle="bold" + android:ellipsize="end" + android:maxLines="3" /> <LinearLayout android:layout_width="match_parent" |