From c84a1100b01fda8d30aa80adb3f267aff306d535 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 12 May 2013 18:01:00 +0400 Subject: improve readability of sw600dp headline rows --- res/layout-sw600dp-port/headlines_row_selected.xml | 80 ---------- .../headlines_row_selected_unread.xml | 81 ---------- res/layout-sw600dp/article_fragment.xml | 4 +- res/layout-sw600dp/headlines_row.xml | 172 ++++++++++---------- res/layout-sw600dp/headlines_row_selected.xml | 173 ++++++++++---------- .../headlines_row_selected_unread.xml | 174 ++++++++++---------- res/layout-sw600dp/headlines_row_unread.xml | 175 +++++++++++---------- 7 files changed, 354 insertions(+), 505 deletions(-) delete mode 100644 res/layout-sw600dp-port/headlines_row_selected.xml delete mode 100644 res/layout-sw600dp-port/headlines_row_selected_unread.xml (limited to 'res') diff --git a/res/layout-sw600dp-port/headlines_row_selected.xml b/res/layout-sw600dp-port/headlines_row_selected.xml deleted file mode 100644 index cdcc20e7..00000000 --- a/res/layout-sw600dp-port/headlines_row_selected.xml +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/res/layout-sw600dp-port/headlines_row_selected_unread.xml b/res/layout-sw600dp-port/headlines_row_selected_unread.xml deleted file mode 100644 index 0805077d..00000000 --- a/res/layout-sw600dp-port/headlines_row_selected_unread.xml +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/res/layout-sw600dp/article_fragment.xml b/res/layout-sw600dp/article_fragment.xml index 7cde45f4..3b48bed1 100644 --- a/res/layout-sw600dp/article_fragment.xml +++ b/res/layout-sw600dp/article_fragment.xml @@ -56,8 +56,7 @@ android:singleLine="true" android:text="{Author}" android:textColor="?headlineExcerptTextColor" - android:textSize="13sp" - android:textStyle="italic" /> + android:textSize="13sp" /> + android:orientation="vertical" + android:padding="6dp" > - + android:paddingLeft="0dp" + android:paddingRight="0dp" /> - + android:ellipsize="end" + android:gravity="center_vertical" + android:singleLine="false" + android:text="{Title...}" + android:textColor="?headlineTextColor" + android:textSize="16sp" /> - - - - - + - + - + + + - - - - - - + - + - + - + + - - + android:layout_weight="0" + android:clickable="true" + android:paddingRight="6dp" + android:src="@android:drawable/star_off" /> - - + diff --git a/res/layout-sw600dp/headlines_row_selected.xml b/res/layout-sw600dp/headlines_row_selected.xml index f18ff51f..3cfd98e8 100644 --- a/res/layout-sw600dp/headlines_row_selected.xml +++ b/res/layout-sw600dp/headlines_row_selected.xml @@ -4,8 +4,8 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="?headlineSelectedBackground" - android:padding="4sp" - android:orientation="vertical" > + android:orientation="vertical" + android:padding="6dp" > - + android:paddingLeft="0dp" + android:paddingRight="0dp" /> - + android:ellipsize="end" + android:gravity="center_vertical" + android:singleLine="false" + android:text="{Title...}" + android:textColor="?headlineSelectedTextColor" + android:textSize="16sp" /> - - + - + - + - + - - - - - + - + - - - - - - + - + + + android:layout_weight="0" + android:clickable="true" + android:paddingRight="6dp" + android:src="@android:drawable/star_off" /> - + - - \ No newline at end of file diff --git a/res/layout-sw600dp/headlines_row_selected_unread.xml b/res/layout-sw600dp/headlines_row_selected_unread.xml index 9fa73d04..2d3354b6 100644 --- a/res/layout-sw600dp/headlines_row_selected_unread.xml +++ b/res/layout-sw600dp/headlines_row_selected_unread.xml @@ -4,8 +4,8 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="?headlineSelectedBackground" - android:padding="4sp" - android:orientation="vertical" > + android:orientation="vertical" + android:padding="6dp" > - + android:paddingLeft="0dp" + android:paddingRight="0dp" /> - + android:ellipsize="end" + android:gravity="center_vertical" + android:singleLine="false" + android:text="{Title...}" + android:textColor="?headlineSelectedTextColor" + android:textSize="16sp" + android:textStyle="bold" /> - - - - + - + - + - + - - - + - + - - - - - - + - + + + android:layout_weight="0" + android:clickable="true" + android:paddingRight="6dp" + android:src="@android:drawable/star_off" /> - + - - \ 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 d58b78a6..4187af8f 100644 --- a/res/layout-sw600dp/headlines_row_unread.xml +++ b/res/layout-sw600dp/headlines_row_unread.xml @@ -4,8 +4,8 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="?headlineUnreadBackground" - android:padding="4sp" - android:orientation="vertical" > + android:orientation="vertical" + android:padding="6dp" > - + android:paddingLeft="0dp" + android:paddingRight="0dp" /> - - + android:ellipsize="end" + android:gravity="center_vertical" + android:singleLine="false" + android:text="{Title...}" + android:textColor="?headlineUnreadTextColor" + android:textSize="16sp" + android:textStyle="bold" /> - - - - - - - + - + - + + + - - - - + - + - + - + + - - + android:layout_weight="0" + android:clickable="true" + android:paddingRight="6dp" + android:src="@android:drawable/star_off" /> - - + -- cgit v1.2.3-54-g00ecf