From cd2df32b453497a7acb1e3662c8df8a5f9411793 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 31 Dec 2012 14:01:59 +0400 Subject: [PATCH] various layout readability updates --- res/layout-port/headlines_row.xml | 28 ++-- res/layout-port/headlines_row_selected.xml | 28 ++-- res/layout-port/headlines_row_unread.xml | 28 ++-- .../headlines_row_selected.xml | 56 ++------ res/layout-sw600dp/article_fragment.xml | 120 ++++++++++++++++++ res/layout-sw600dp/headlines_row.xml | 42 +++--- res/layout-sw600dp/headlines_row_selected.xml | 41 +++--- res/layout-sw600dp/headlines_row_unread.xml | 42 +++--- res/layout/article_fragment.xml | 8 +- res/layout/headlines_row.xml | 61 ++++----- res/layout/headlines_row_selected.xml | 61 ++++----- res/layout/headlines_row_unread.xml | 61 ++++----- src/org/fox/ttrss/ArticleFragment.java | 4 - src/org/fox/ttrss/HeadlinesFragment.java | 4 +- .../offline/OfflineHeadlinesFragment.java | 4 +- 15 files changed, 295 insertions(+), 293 deletions(-) create mode 100644 res/layout-sw600dp/article_fragment.xml diff --git a/res/layout-port/headlines_row.xml b/res/layout-port/headlines_row.xml index 4dd8de2d..47d20835 100644 --- a/res/layout-port/headlines_row.xml +++ b/res/layout-port/headlines_row.xml @@ -14,16 +14,17 @@ android:layout_weight="1" android:orientation="vertical" android:padding="3dip" > - + + android:textSize="16sp" + android:textStyle="bold" /> - + - + android:textSize="10sp" + android:textStyle="italic" /> + + android:textSize="10sp" /> - - \ No newline at end of file diff --git a/res/layout-port/headlines_row_selected.xml b/res/layout-port/headlines_row_selected.xml index 46df3f71..c7451d96 100644 --- a/res/layout-port/headlines_row_selected.xml +++ b/res/layout-port/headlines_row_selected.xml @@ -14,16 +14,17 @@ android:layout_weight="1" android:orientation="vertical" android:padding="3dip" > - + + android:textSize="16sp" + android:textStyle="bold" /> - + - + android:textSize="10sp" + android:textStyle="italic" /> + + android:textSize="10sp" /> - - \ No newline at end of file diff --git a/res/layout-port/headlines_row_unread.xml b/res/layout-port/headlines_row_unread.xml index f19ebe06..9dcbc83e 100644 --- a/res/layout-port/headlines_row_unread.xml +++ b/res/layout-port/headlines_row_unread.xml @@ -14,16 +14,17 @@ android:layout_weight="1" android:orientation="vertical" android:padding="3dip" > - + + android:textSize="16sp" + android:textStyle="bold" /> - + - + android:textSize="10sp" + android:textStyle="italic" /> + + android:textSize="10sp" /> - - \ No newline at end of file diff --git a/res/layout-sw600dp-port/headlines_row_selected.xml b/res/layout-sw600dp-port/headlines_row_selected.xml index dd313d25..8a60b217 100644 --- a/res/layout-sw600dp-port/headlines_row_selected.xml +++ b/res/layout-sw600dp-port/headlines_row_selected.xml @@ -4,6 +4,7 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="?headlineSelectedBackgroundSolid" + android:padding="4sp" android:orientation="vertical" > + android:paddingRight="15px" > - - + android:clickable="true" + android:src="@android:drawable/star_off" /> - - - - - - - - + android:clickable="true" + android:src="@drawable/ic_rss_bw" /> + - - \ No newline at end of file diff --git a/res/layout-sw600dp/article_fragment.xml b/res/layout-sw600dp/article_fragment.xml new file mode 100644 index 00000000..82cd99d4 --- /dev/null +++ b/res/layout-sw600dp/article_fragment.xml @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + +