From 75b10a845c801f57360f0fa4fca188ca86b8b00a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 23 May 2013 15:59:05 +0400 Subject: headline style updates --- res/layout/feeds_row_selected.xml | 2 +- res/layout/headlines_row.xml | 66 +++++++++++------------- res/layout/headlines_row_selected.xml | 77 ++++++++++++---------------- res/layout/headlines_row_selected_unread.xml | 73 ++++++++++++-------------- res/layout/headlines_row_unread.xml | 65 ++++++++++------------- 5 files changed, 124 insertions(+), 159 deletions(-) (limited to 'res/layout') diff --git a/res/layout/feeds_row_selected.xml b/res/layout/feeds_row_selected.xml index b1d53549..75d1fc07 100644 --- a/res/layout/feeds_row_selected.xml +++ b/res/layout/feeds_row_selected.xml @@ -3,7 +3,7 @@ android:id="@+id/feeds_row" android:layout_width="match_parent" android:layout_height="?android:attr/listPreferredItemHeight" - android:background="?feedsSelectedBackgroundSolid" + android:background="?feedsSelectedBackground" android:descendantFocusability="blocksDescendants" android:gravity="center_vertical" android:orientation="horizontal" diff --git a/res/layout/headlines_row.xml b/res/layout/headlines_row.xml index d339e281..c8a9a0e7 100644 --- a/res/layout/headlines_row.xml +++ b/res/layout/headlines_row.xml @@ -5,22 +5,17 @@ android:layout_height="wrap_content" android:background="?headlineNormalBackground" android:orientation="vertical" - android:paddingRight="6dp" > + android:paddingLeft="0dp" + android:paddingRight="6dp" + android:paddingTop="6dp" > - - + android:orientation="horizontal" + android:paddingLeft="6dp" > - + android:textSize="16sp" /> + android:orientation="horizontal" > + + + android:textSize="12sp" /> - + android:textSize="12sp" /> + android:textSize="13sp" /> + android:paddingLeft="6dp" > + android:textSize="12sp" /> diff --git a/res/layout/headlines_row_selected.xml b/res/layout/headlines_row_selected.xml index be2239d9..9607bf6c 100644 --- a/res/layout/headlines_row_selected.xml +++ b/res/layout/headlines_row_selected.xml @@ -5,22 +5,17 @@ android:layout_height="wrap_content" android:background="?headlineSelectedBackground" android:orientation="vertical" - android:paddingRight="6dp" > + android:paddingLeft="0dp" + android:paddingRight="6dp" + android:paddingTop="6dp" > - - + android:orientation="horizontal" + android:paddingLeft="6dp" > - + android:text="Sample entry title" + android:textColor="?headlineTextColor" + android:textSize="16sp" + android:textStyle="bold" /> + android:orientation="horizontal" > + + + android:text="Example Feed" + android:textColor="?headlineSecondaryTextColor" + android:textSize="12sp" /> - + android:text="Jan 01, 12:00" + android:textColor="?headlineSecondaryTextColor" + android:textSize="12sp" /> + android:textSize="13sp" /> + android:paddingLeft="6dp" > + android:textSize="12sp" /> - + - \ No newline at end of file diff --git a/res/layout/headlines_row_selected_unread.xml b/res/layout/headlines_row_selected_unread.xml index 93135abb..5b052dab 100644 --- a/res/layout/headlines_row_selected_unread.xml +++ b/res/layout/headlines_row_selected_unread.xml @@ -5,22 +5,17 @@ android:layout_height="wrap_content" android:background="?headlineSelectedBackground" android:orientation="vertical" - android:paddingRight="6dp" > + android:paddingLeft="0dp" + android:paddingRight="6dp" + android:paddingTop="6dp" > - - + android:orientation="horizontal" + android:paddingLeft="6dp" > - + android:orientation="horizontal" > + + + android:text="Example Feed" + android:textColor="?headlineSecondaryTextColor" + android:textSize="12sp" /> - + android:text="Jan 01, 12:00" + android:textColor="?headlineSecondaryTextColor" + android:textSize="12sp" /> + android:textSize="13sp" /> + android:paddingLeft="6dp" > + android:textSize="12sp" /> diff --git a/res/layout/headlines_row_unread.xml b/res/layout/headlines_row_unread.xml index fc1ab67a..89537907 100644 --- a/res/layout/headlines_row_unread.xml +++ b/res/layout/headlines_row_unread.xml @@ -5,22 +5,17 @@ android:layout_height="wrap_content" android:background="?headlineUnreadBackground" android:orientation="vertical" - android:paddingRight="6dp" > + android:paddingLeft="0dp" + android:paddingRight="6dp" + android:paddingTop="6dp" > - - + android:orientation="horizontal" + android:paddingLeft="6dp" > - + android:orientation="horizontal" > + + + android:textSize="12sp" /> - + android:textSize="12sp" /> + android:textSize="13sp" /> + android:paddingLeft="6dp" > + android:textSize="12sp" /> - \ No newline at end of file -- cgit v1.2.3-54-g00ecf