From 790373c3cb76b2312ef293f4b3fdb9c53d8a69d9 Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Thu, 19 Jan 2012 19:44:28 -0800 Subject: [PATCH] Polished background color of list view, highlight currently selected list --- .../res/layout-land/filter_list_activity.xml | 1 + .../filter_list_activity.xml | 1 + .../res/layout-large/filter_list_activity.xml | 3 +- .../task_list_wrapper_activity.xml | 1 + astrid/res/layout/filter_list_activity.xml | 1 + astrid/res/values/colors.xml | 4 +++ astrid/res/values/styles.xml | 4 +-- .../activity/AstridWrapperActivity.java | 2 ++ .../astrid/activity/FilterListActivity.java | 28 ++++++++++++------- .../activity/TaskListWrapperActivity.java | 14 ---------- .../todoroo/astrid/adapter/FilterAdapter.java | 16 +++++++++++ 11 files changed, 48 insertions(+), 27 deletions(-) diff --git a/astrid/res/layout-land/filter_list_activity.xml b/astrid/res/layout-land/filter_list_activity.xml index 56c500350..08aa2bd49 100644 --- a/astrid/res/layout-land/filter_list_activity.xml +++ b/astrid/res/layout-land/filter_list_activity.xml @@ -13,6 +13,7 @@ android:layout_height="200dip" android:layout_alignParentTop="true" android:scrollbars="vertical" + android:divider="@android:color/transparent" android:cacheColorHint="#00000000"/> diff --git a/astrid/res/layout-large-land/filter_list_activity.xml b/astrid/res/layout-large-land/filter_list_activity.xml index 808ef6401..9e2d6a58d 100644 --- a/astrid/res/layout-large-land/filter_list_activity.xml +++ b/astrid/res/layout-large-land/filter_list_activity.xml @@ -37,6 +37,7 @@ android:layout_alignParentTop="true" android:layout_above="@id/lists_footer" android:scrollbars="vertical" + android:divider="@android:color/transparent" android:cacheColorHint="#00000000"/> diff --git a/astrid/res/layout-large/filter_list_activity.xml b/astrid/res/layout-large/filter_list_activity.xml index 808ef6401..7ae60813b 100644 --- a/astrid/res/layout-large/filter_list_activity.xml +++ b/astrid/res/layout-large/filter_list_activity.xml @@ -3,7 +3,7 @@ + android:background="@color/tablet_list_bg"> diff --git a/astrid/res/layout-large/task_list_wrapper_activity.xml b/astrid/res/layout-large/task_list_wrapper_activity.xml index aeda8c70c..4cc724633 100644 --- a/astrid/res/layout-large/task_list_wrapper_activity.xml +++ b/astrid/res/layout-large/task_list_wrapper_activity.xml @@ -8,6 +8,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:layout_weight="67" + android:background="@android:color/white" android:id="@+id/filterlist_fragment_container"> diff --git a/astrid/res/values/colors.xml b/astrid/res/values/colors.xml index 02917340e..f223bcc3b 100644 --- a/astrid/res/values/colors.xml +++ b/astrid/res/values/colors.xml @@ -26,6 +26,10 @@ #0b78a5 #888888 + + #d00000 + #292929 + #101010 diff --git a/astrid/res/values/styles.xml b/astrid/res/values/styles.xml index 627644d58..cbcb5942d 100644 --- a/astrid/res/values/styles.xml +++ b/astrid/res/values/styles.xml @@ -63,7 +63,7 @@ @android:color/white useLogo|showHome|showTitle @drawable/icon_48 - #d00000 + @color/red_text_color