diff --git a/astrid/plugin-src/com/todoroo/astrid/reminders/Notifications.java b/astrid/plugin-src/com/todoroo/astrid/reminders/Notifications.java
index ffbf332f1..859ad8a0d 100644
--- a/astrid/plugin-src/com/todoroo/astrid/reminders/Notifications.java
+++ b/astrid/plugin-src/com/todoroo/astrid/reminders/Notifications.java
@@ -110,6 +110,9 @@ public class Notifications extends BroadcastReceiver {
return false;
}
+ // schedule next notification
+ ReminderService.getInstance().scheduleAlarm(task);
+
// you're done - don't sound, do delete
if(task.isCompleted() || task.isDeleted())
return false;
diff --git a/astrid/res/layout/addon_activity.xml b/astrid/res/layout/addon_activity.xml
index a93654032..4bd10cf80 100644
--- a/astrid/res/layout/addon_activity.xml
+++ b/astrid/res/layout/addon_activity.xml
@@ -7,18 +7,44 @@
-
+ android:layout_height="fill_parent">
+
+
+
+
+
+
-
+ android:layout_height="fill_parent">
+
+
+
+
+
+
\ No newline at end of file
diff --git a/astrid/res/layout/addon_adapter_row.xml b/astrid/res/layout/addon_adapter_row.xml
index d5a9cebd5..e29f45db8 100644
--- a/astrid/res/layout/addon_adapter_row.xml
+++ b/astrid/res/layout/addon_adapter_row.xml
@@ -12,7 +12,7 @@
@@ -49,18 +49,21 @@
diff --git a/astrid/res/layout/task_edit_activity.xml b/astrid/res/layout/task_edit_activity.xml
index 36b64d672..da2bd29bf 100644
--- a/astrid/res/layout/task_edit_activity.xml
+++ b/astrid/res/layout/task_edit_activity.xml
@@ -94,21 +94,15 @@
android:autoText="true"
android:capitalize="sentences"
android:singleLine="false" />
-
-
-
-
-
@@ -286,9 +278,10 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
+ android:layout_marginTop="10dip"
+ android:padding="5dip"
android:orientation="horizontal"
android:background="@drawable/edit_header"
- android:padding="5dip"
android:baselineAligned="false">
+
diff --git a/astrid/res/layout/task_list_activity.xml b/astrid/res/layout/task_list_activity.xml
index 7cdd39eb4..557a771bf 100644
--- a/astrid/res/layout/task_list_activity.xml
+++ b/astrid/res/layout/task_list_activity.xml
@@ -54,6 +54,7 @@
diff --git a/astrid/src/com/todoroo/astrid/activity/AddOnActivity.java b/astrid/src/com/todoroo/astrid/activity/AddOnActivity.java
index 095494d20..59efa93cf 100644
--- a/astrid/src/com/todoroo/astrid/activity/AddOnActivity.java
+++ b/astrid/src/com/todoroo/astrid/activity/AddOnActivity.java
@@ -7,9 +7,9 @@ import android.app.TabActivity;
import android.content.res.Resources;
import android.os.Bundle;
import android.view.LayoutInflater;
+import android.view.View;
import android.widget.ListView;
import android.widget.TabHost;
-import android.widget.TextView;
import com.timsu.astrid.R;
import com.todoroo.andlib.service.Autowired;
@@ -48,11 +48,11 @@ public class AddOnActivity extends TabActivity {
tabHost.addTab(tabHost.newTabSpec(r.getString(R.string.AOA_tab_installed)).
setIndicator(r.getString(R.string.AOA_tab_installed),
r.getDrawable(R.drawable.tab_addons)).setContent(
- R.id.installed));
+ R.id.tab_installed));
tabHost.addTab(tabHost.newTabSpec(r.getString(R.string.AOA_tab_available)).
setIndicator(r.getString(R.string.AOA_tab_available),
r.getDrawable(R.drawable.tab_add)).setContent(
- R.id.available));
+ R.id.tab_available));
setTitle(R.string.AOA_title);
@@ -76,17 +76,15 @@ public class AddOnActivity extends TabActivity {
if(installed.size() == 0 || getIntent().getBooleanExtra(TOKEN_START_WITH_AVAILABLE, false))
getTabHost().setCurrentTab(1);
- TextView noAddons = new TextView(this);
- noAddons.setText(R.string.TEA_no_addons);
- noAddons.setTextAppearance(this, R.style.TextAppearance_TLA_NoItems);
-
ListView installedList = (ListView) findViewById(R.id.installed);
- installedList.setEmptyView(noAddons);
installedList.setAdapter(new AddOnAdapter(this, true, installed));
+ if(installed.size() > 0)
+ findViewById(R.id.empty_installed).setVisibility(View.GONE);
ListView availableList = (ListView) findViewById(R.id.available);
- availableList.setEmptyView(noAddons);
availableList.setAdapter(new AddOnAdapter(this, false, available));
+ if(available.size() > 0)
+ findViewById(R.id.empty_available).setVisibility(View.GONE);
}
diff --git a/astrid/src/com/todoroo/astrid/activity/TaskEditActivity.java b/astrid/src/com/todoroo/astrid/activity/TaskEditActivity.java
index 3ee27dd5c..b4cb86057 100644
--- a/astrid/src/com/todoroo/astrid/activity/TaskEditActivity.java
+++ b/astrid/src/com/todoroo/astrid/activity/TaskEditActivity.java
@@ -221,6 +221,7 @@ public final class TaskEditActivity extends TabActivity {
// show add-on help if necessary
if(addonsAddons.getChildCount() == 0) {
+ ((View)addonsAddons.getParent()).setVisibility(View.GONE);
findViewById(R.id.addons_empty).setVisibility(View.VISIBLE);
((Button)findViewById(R.id.addons_button)).setOnClickListener(new View.OnClickListener() {
@Override
diff --git a/astrid/src/com/todoroo/astrid/adapter/AddOnAdapter.java b/astrid/src/com/todoroo/astrid/adapter/AddOnAdapter.java
index 829417062..0319b434f 100644
--- a/astrid/src/com/todoroo/astrid/adapter/AddOnAdapter.java
+++ b/astrid/src/com/todoroo/astrid/adapter/AddOnAdapter.java
@@ -125,10 +125,10 @@ public class AddOnAdapter extends ArrayAdapter {
"com.android.vending.SearchAssetListActivity"); //$NON-NLS-1$
Drawable icon = getIntentIcon(marketIntent);
if(icon == null)
- viewHolder.web.setImageResource(
+ viewHolder.market.setImageResource(
android.R.drawable.stat_sys_download);
else
- viewHolder.web.setImageDrawable(icon);
+ viewHolder.market.setImageDrawable(icon);
}
}
diff --git a/astrid/src/com/todoroo/astrid/service/AddOnService.java b/astrid/src/com/todoroo/astrid/service/AddOnService.java
index 95459c7b5..461e6bad7 100644
--- a/astrid/src/com/todoroo/astrid/service/AddOnService.java
+++ b/astrid/src/com/todoroo/astrid/service/AddOnService.java
@@ -178,7 +178,7 @@ public class AddOnService {
((BitmapDrawable)r.getDrawable(R.drawable.icon_pp)).getBitmap());
list[1] = new AddOn(false, true, "Astrid Locale Plugin", null,
- "Allows Astrid to make use of the Locale application to send you notifications based on filter conditions",
+ "Allows Astrid to make use of the Locale application to send you notifications based on filter conditions. Requires Locale",
LOCALE_PACKAGE, "http://www.weloveastrid.com/store",
((BitmapDrawable)r.getDrawable(R.drawable.icon_pp)).getBitmap());