From 95450a63bb70ed10e10c225d97f5fa2ce2d454a9 Mon Sep 17 00:00:00 2001 From: Tim Su Date: Thu, 25 Dec 2008 05:20:18 +0000 Subject: [PATCH] Fixed bugs: - adding blank tasks - rotating after creating task causes crash - save creates 2 copies of a task Added features: - add ability to start/stop timer from list - changed importance colors - shrink importance spinner --- .classpath | 2 +- res/layout/importance_spinner_dropdown.xml | 9 ++ res/layout/task_view.xml | 20 ++-- res/values/colors.xml | 4 +- res/values/strings.xml | 2 + src/com/timsu/astrid/activities/TaskEdit.java | 40 +++++-- src/com/timsu/astrid/activities/TaskList.java | 38 +++++-- .../activities/TaskModificationActivity.java | 5 +- src/com/timsu/astrid/activities/TaskView.java | 105 ++++++++++++++---- .../timsu/astrid/data/enums/Importance.java | 2 +- .../astrid/data/task/AbstractTaskModel.java | 9 ++ .../astrid/data/task/TaskController.java | 23 +--- .../astrid/data/task/TaskModelForList.java | 10 ++ .../astrid/data/task/TaskModelForView.java | 4 +- 14 files changed, 193 insertions(+), 80 deletions(-) create mode 100644 res/layout/importance_spinner_dropdown.xml diff --git a/.classpath b/.classpath index f4b028622..69c7a3e5a 100644 --- a/.classpath +++ b/.classpath @@ -2,6 +2,6 @@ - + diff --git a/res/layout/importance_spinner_dropdown.xml b/res/layout/importance_spinner_dropdown.xml new file mode 100644 index 000000000..cfe049ab0 --- /dev/null +++ b/res/layout/importance_spinner_dropdown.xml @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/res/layout/task_view.xml b/res/layout/task_view.xml index 2cedf32b4..356b23b84 100644 --- a/res/layout/task_view.xml +++ b/res/layout/task_view.xml @@ -36,16 +36,6 @@ android:layout_width="wrap_content" android:layout_height="wrap_content"/> - - - -