From 651029505689544bf9d7f49b8933a9cb9a0e272f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 31 Dec 2012 13:25:23 +0400 Subject: [PATCH] tablet headline row layout updates --- res/layout-sw600dp/headlines_row.xml | 38 +++++++---------- res/layout-sw600dp/headlines_row_selected.xml | 41 +++++++------------ res/layout-sw600dp/headlines_row_unread.xml | 38 +++++++---------- src/org/fox/ttrss/HeadlinesFragment.java | 4 +- 4 files changed, 45 insertions(+), 76 deletions(-) diff --git a/res/layout-sw600dp/headlines_row.xml b/res/layout-sw600dp/headlines_row.xml index e23bf87d..2983823e 100644 --- a/res/layout-sw600dp/headlines_row.xml +++ b/res/layout-sw600dp/headlines_row.xml @@ -50,24 +50,26 @@ android:textColor="?headlineExcerptTextColor" android:textSize="13sp" > - - - - + - + android:textSize="11sp" + android:textStyle="italic" /> + + + + - - \ No newline at end of file diff --git a/res/layout-sw600dp/headlines_row_selected.xml b/res/layout-sw600dp/headlines_row_selected.xml index 52d85cee..b7bab698 100644 --- a/res/layout-sw600dp/headlines_row_selected.xml +++ b/res/layout-sw600dp/headlines_row_selected.xml @@ -28,7 +28,7 @@ android:layout_height="wrap_content" android:layout_weight="1" android:orientation="vertical" > - + - - - - - + - + android:textSize="11sp" + android:textStyle="italic" /> + + + + - - \ No newline at end of file diff --git a/res/layout-sw600dp/headlines_row_unread.xml b/res/layout-sw600dp/headlines_row_unread.xml index 527d2aa9..e1ab6e28 100644 --- a/res/layout-sw600dp/headlines_row_unread.xml +++ b/res/layout-sw600dp/headlines_row_unread.xml @@ -50,24 +50,26 @@ android:textColor="?headlineExcerptTextColor" android:textSize="13sp" > - - - - + - + android:textSize="11sp" + android:textStyle="italic" /> + + + + - - \ No newline at end of file diff --git a/src/org/fox/ttrss/HeadlinesFragment.java b/src/org/fox/ttrss/HeadlinesFragment.java index d9298b10..b1501a7b 100644 --- a/src/org/fox/ttrss/HeadlinesFragment.java +++ b/src/org/fox/ttrss/HeadlinesFragment.java @@ -641,8 +641,8 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener, if (te != null) { String excerpt = Jsoup.parse(articleContent).text(); - if (excerpt.length() > 100) - excerpt = excerpt.substring(0, 100) + "..."; + if (excerpt.length() > 200) + excerpt = excerpt.substring(0, 200) + "..."; te.setText(excerpt); }