Move misc preferences to the bottom

pull/14/head
Sam Bosley 13 years ago
parent a336aa9eb8
commit ba9baf3bc9

@ -110,41 +110,4 @@
</PreferenceScreen> </PreferenceScreen>
<PreferenceScreen
android:title="@string/EPr_powerpack_header"
android:summary="@string/EPr_powerpack_summary">
<PreferenceScreen android:title="@string/p_files_dir" android:key="@string/p_files_dir" />
<com.todoroo.astrid.ui.MultilineCheckboxPreference
android:key="@string/p_voiceRemindersEnabled"
android:title="@string/EPr_voiceRemindersEnabled_title"
android:defaultValue="false" />
<CheckBoxPreference
android:key="@string/p_field_missed_calls"
android:title="@string/MCA_missed_calls_pref_title"/>
<CheckBoxPreference
android:key="@string/p_third_party_addons"
android:title="@string/EPr_third_party_addons" />
<CheckBoxPreference
android:key="@string/p_ideas_tab_enabled"
android:title="@string/EPr_ideas_tab_enabled"
android:summary="@string/EPr_ideas_tab_description" />
<CheckBoxPreference
android:title="@string/EPr_cal_end_or_start_at_due_time"
android:key = "@string/p_end_at_deadline" />
<com.todoroo.astrid.ui.MultilineCheckboxPreference
android:key="@string/p_statistics"
android:title="@string/EPr_statistics_title"
android:defaultValue="true" />
</PreferenceScreen>
</PreferenceScreen> </PreferenceScreen>

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/EPr_powerpack_header">
<PreferenceScreen
android:title="@string/EPr_powerpack_header"
android:summary="@string/EPr_powerpack_summary">
<PreferenceScreen android:title="@string/p_files_dir" android:key="@string/p_files_dir" />
<com.todoroo.astrid.ui.MultilineCheckboxPreference
android:key="@string/p_voiceRemindersEnabled"
android:title="@string/EPr_voiceRemindersEnabled_title"
android:defaultValue="false" />
<CheckBoxPreference
android:key="@string/p_field_missed_calls"
android:title="@string/MCA_missed_calls_pref_title"/>
<CheckBoxPreference
android:key="@string/p_third_party_addons"
android:title="@string/EPr_third_party_addons" />
<CheckBoxPreference
android:key="@string/p_ideas_tab_enabled"
android:title="@string/EPr_ideas_tab_enabled"
android:summary="@string/EPr_ideas_tab_description" />
<CheckBoxPreference
android:title="@string/EPr_cal_end_or_start_at_due_time"
android:key = "@string/p_end_at_deadline" />
<com.todoroo.astrid.ui.MultilineCheckboxPreference
android:key="@string/p_statistics"
android:title="@string/EPr_statistics_title"
android:defaultValue="true" />
</PreferenceScreen>
</PreferenceScreen>

@ -134,6 +134,8 @@ public class EditPreferences extends TodorooPreferenceActivity {
addPluginPreferences(screen); addPluginPreferences(screen);
addPreferencesFromResource(R.xml.preferences_misc);
final Resources r = getResources(); final Resources r = getResources();
// first-order preferences // first-order preferences

Loading…
Cancel
Save