From c396ab425878bb2e7c5195d739b070377cb6aa1e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 12 May 2013 18:35:40 +0400 Subject: update all headline views (remove unnecessary variants), add separate color for secondary headline text --- res/layout-port/headlines_row.xml | 114 ------------- res/layout-port/headlines_row_selected.xml | 115 ------------- res/layout-port/headlines_row_selected_unread.xml | 116 ------------- res/layout-port/headlines_row_unread.xml | 116 ------------- res/layout-sw600dp/headlines_row.xml | 125 -------------- res/layout-sw600dp/headlines_row_selected.xml | 125 -------------- .../headlines_row_selected_unread.xml | 126 -------------- res/layout-sw600dp/headlines_row_unread.xml | 126 -------------- res/layout/headlines_row.xml | 165 ++++++++++--------- res/layout/headlines_row_selected.xml | 179 ++++++++++---------- res/layout/headlines_row_selected_unread.xml | 181 +++++++++++---------- res/layout/headlines_row_unread.xml | 181 ++++++++++----------- res/values-v11/style.xml | 5 + res/values/attrs.xml | 4 +- res/values/style.xml | 5 + 15 files changed, 370 insertions(+), 1313 deletions(-) delete mode 100644 res/layout-port/headlines_row.xml delete mode 100644 res/layout-port/headlines_row_selected.xml delete mode 100644 res/layout-port/headlines_row_selected_unread.xml delete mode 100644 res/layout-port/headlines_row_unread.xml delete mode 100644 res/layout-sw600dp/headlines_row.xml delete mode 100644 res/layout-sw600dp/headlines_row_selected.xml delete mode 100644 res/layout-sw600dp/headlines_row_selected_unread.xml delete mode 100644 res/layout-sw600dp/headlines_row_unread.xml (limited to 'res') diff --git a/res/layout-port/headlines_row.xml b/res/layout-port/headlines_row.xml deleted file mode 100644 index ec0e6cd8..00000000 --- a/res/layout-port/headlines_row.xml +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/res/layout-port/headlines_row_selected.xml b/res/layout-port/headlines_row_selected.xml deleted file mode 100644 index ed7c4d06..00000000 --- a/res/layout-port/headlines_row_selected.xml +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/res/layout-port/headlines_row_selected_unread.xml b/res/layout-port/headlines_row_selected_unread.xml deleted file mode 100644 index 63cc67fa..00000000 --- a/res/layout-port/headlines_row_selected_unread.xml +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/res/layout-port/headlines_row_unread.xml b/res/layout-port/headlines_row_unread.xml deleted file mode 100644 index 4b3c10b7..00000000 --- a/res/layout-port/headlines_row_unread.xml +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/res/layout-sw600dp/headlines_row.xml b/res/layout-sw600dp/headlines_row.xml deleted file mode 100644 index 80da7423..00000000 --- a/res/layout-sw600dp/headlines_row.xml +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/res/layout-sw600dp/headlines_row_selected.xml b/res/layout-sw600dp/headlines_row_selected.xml deleted file mode 100644 index 3cfd98e8..00000000 --- a/res/layout-sw600dp/headlines_row_selected.xml +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ 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 deleted file mode 100644 index 2d3354b6..00000000 --- a/res/layout-sw600dp/headlines_row_selected_unread.xml +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/res/layout-sw600dp/headlines_row_unread.xml b/res/layout-sw600dp/headlines_row_unread.xml deleted file mode 100644 index 4187af8f..00000000 --- a/res/layout-sw600dp/headlines_row_unread.xml +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/res/layout/headlines_row.xml b/res/layout/headlines_row.xml index ccbf4366..cba81d24 100644 --- a/res/layout/headlines_row.xml +++ b/res/layout/headlines_row.xml @@ -4,7 +4,8 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="?headlineNormalBackground" - android:orientation="vertical" > + android:orientation="vertical" + android:paddingRight="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" /> - + - - \ No newline at end of file diff --git a/res/layout/headlines_row_selected.xml b/res/layout/headlines_row_selected.xml index babf3f6b..cf138c47 100644 --- a/res/layout/headlines_row_selected.xml +++ b/res/layout/headlines_row_selected.xml @@ -3,8 +3,9 @@ android:id="@+id/headlines_row" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:background="?headlineSelectedBackgroundSolid" - android:orientation="vertical" > + android:background="?headlineSelectedBackground" + android:orientation="vertical" + android:paddingRight="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/headlines_row_selected_unread.xml b/res/layout/headlines_row_selected_unread.xml index 03c4ffdb..7a9930c3 100644 --- a/res/layout/headlines_row_selected_unread.xml +++ b/res/layout/headlines_row_selected_unread.xml @@ -3,14 +3,14 @@ android:id="@+id/headlines_row" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:background="?headlineSelectedBackgroundSolid" - android:orientation="vertical" > + android:background="?headlineSelectedBackground" + android:orientation="vertical" + android:paddingRight="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/headlines_row_unread.xml b/res/layout/headlines_row_unread.xml index 186048e6..f7eea275 100644 --- a/res/layout/headlines_row_unread.xml +++ b/res/layout/headlines_row_unread.xml @@ -4,9 +4,8 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="?headlineUnreadBackground" - android:orientation="vertical" > - - + android:orientation="vertical" + android:paddingRight="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" /> - + - - \ No newline at end of file diff --git a/res/values-v11/style.xml b/res/values-v11/style.xml index 4bb7bf8f..e764ab9b 100644 --- a/res/values-v11/style.xml +++ b/res/values-v11/style.xml @@ -19,6 +19,8 @@ @android:color/primary_text_light #ffffff @android:color/secondary_text_light + #909090 + #606060 @android:color/secondary_text_light #008000 #30B0E0 @@ -67,6 +69,8 @@ @android:color/white @android:color/secondary_text_dark @android:color/black + #909090 + #404040 #00FF00 @color/ics_cyan @android:color/black @@ -90,6 +94,7 @@ @android:color/secondary_text_dark @style/ActionBarDarkGray @style/ActionBarDarkGray + #a0a0a0 -- cgit v1.2.3