From ba9baf3bc964f0fbd1661fa516277658d1d777aa Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Wed, 22 Aug 2012 16:57:24 -0700 Subject: [PATCH] Move misc preferences to the bottom --- astrid/res/xml/preferences.xml | 37 ------------------ astrid/res/xml/preferences_misc.xml | 39 +++++++++++++++++++ .../astrid/activity/EditPreferences.java | 2 + 3 files changed, 41 insertions(+), 37 deletions(-) create mode 100644 astrid/res/xml/preferences_misc.xml diff --git a/astrid/res/xml/preferences.xml b/astrid/res/xml/preferences.xml index ebf1bd1a5..02e26daee 100644 --- a/astrid/res/xml/preferences.xml +++ b/astrid/res/xml/preferences.xml @@ -110,41 +110,4 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/astrid/res/xml/preferences_misc.xml b/astrid/res/xml/preferences_misc.xml new file mode 100644 index 000000000..acf97d683 --- /dev/null +++ b/astrid/res/xml/preferences_misc.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/astrid/src/com/todoroo/astrid/activity/EditPreferences.java b/astrid/src/com/todoroo/astrid/activity/EditPreferences.java index 29d063152..d90e5e673 100644 --- a/astrid/src/com/todoroo/astrid/activity/EditPreferences.java +++ b/astrid/src/com/todoroo/astrid/activity/EditPreferences.java @@ -134,6 +134,8 @@ public class EditPreferences extends TodorooPreferenceActivity { addPluginPreferences(screen); + addPreferencesFromResource(R.xml.preferences_misc); + final Resources r = getResources(); // first-order preferences