From c0cbd60444446b15ef210a11be7a6fe5b03eb0cf Mon Sep 17 00:00:00 2001 From: Tim Su Date: Thu, 5 Feb 2009 04:43:43 +0000 Subject: [PATCH] Got rid of taskview, now handling that function by expanding the list row. Appropriate hacks to notification. Also, new pink chat icon. --- AndroidManifest.xml | 17 +- res/drawable/notification_tag_pink.png | Bin 1418 -> 1215 bytes res/layout/task_list_row.xml | 67 ++-- res/layout/task_view.xml | 220 ----------- res/values/strings.xml | 45 ++- res/xml/preferences.xml | 5 - src/com/timsu/astrid/activities/TaskList.java | 139 +++---- .../astrid/activities/TaskListAdapter.java | 274 +++++++++---- .../astrid/activities/TaskListNotify.java | 19 + .../activities/TaskListSubActivity.java | 203 ++++++++-- src/com/timsu/astrid/activities/TaskView.java | 366 ------------------ .../astrid/activities/TaskViewNotifier.java | 114 ------ .../astrid/data/task/TaskModelForList.java | 8 +- .../timsu/astrid/utilities/DateUtilities.java | 50 +++ .../timsu/astrid/utilities/Notifications.java | 32 +- 15 files changed, 596 insertions(+), 963 deletions(-) delete mode 100644 res/layout/task_view.xml create mode 100644 src/com/timsu/astrid/activities/TaskListNotify.java delete mode 100644 src/com/timsu/astrid/activities/TaskView.java delete mode 100644 src/com/timsu/astrid/activities/TaskViewNotifier.java diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 0b832b265..2a7c301ef 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionCode="75" + android:versionName="2.2.5"> @@ -14,22 +14,15 @@ - + - - - - + diff --git a/res/drawable/notification_tag_pink.png b/res/drawable/notification_tag_pink.png index 175f93c51ec230f16876752fff8a4c488e01c167..a9e0f650ff870d1eef953380511e969fc8091f8b 100644 GIT binary patch delta 1134 zcmV-!1d;oS3%?1FV1ESy4K~edd#?Zh1V2ecK~zY`?N&`_TvZhQ&V4`gX2vGdF+avc z8{1$Niv~ejTo`qch2RfJ!G&NK(nWPsL2x0`O;>IdT-2Z94_yf2MqRilbs<^`L9G(4 z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