move global recording interval setting below global recording hint

This commit is contained in:
sonora 2014-08-28 02:39:00 +02:00
parent ed5e14db6a
commit 626cc9953f

View file

@ -63,6 +63,11 @@ public class SettingsMonitoringActivity extends SettingsBaseActivity {
globalrecord.setSummary(R.string.save_track_to_gpx_globally_descr); globalrecord.setSummary(R.string.save_track_to_gpx_globally_descr);
cat.addPreference(globalrecord); cat.addPreference(globalrecord);
if(settings.SAVE_GLOBAL_TRACK_REMEMBER.get()) {
cat.addPreference(createTimeListPreference(settings.SAVE_GLOBAL_TRACK_INTERVAL, SECONDS,
MINUTES, 1000, settings.SAVE_GLOBAL_TRACK_REMEMBER, R.string.save_global_track_interval, R.string.save_global_track_interval_descr));
}
Preference pref = new Preference(this); Preference pref = new Preference(this);
pref.setTitle(R.string.save_current_track); pref.setTitle(R.string.save_current_track);
pref.setSummary(R.string.save_current_track_descr); pref.setSummary(R.string.save_current_track_descr);
@ -84,10 +89,6 @@ public class SettingsMonitoringActivity extends SettingsBaseActivity {
R.string.save_track_to_gpx_descrp)); R.string.save_track_to_gpx_descrp));
cat.addPreference(createTimeListPreference(settings.SAVE_TRACK_INTERVAL, SECONDS, cat.addPreference(createTimeListPreference(settings.SAVE_TRACK_INTERVAL, SECONDS,
MINUTES, 1000, R.string.save_track_interval, R.string.save_track_interval_descr)); MINUTES, 1000, R.string.save_track_interval, R.string.save_track_interval_descr));
if(settings.SAVE_GLOBAL_TRACK_REMEMBER.get()) {
cat.addPreference(createTimeListPreference(settings.SAVE_GLOBAL_TRACK_INTERVAL, SECONDS,
MINUTES, 1000, settings.SAVE_GLOBAL_TRACK_REMEMBER, R.string.save_global_track_interval, R.string.save_global_track_interval_descr));
}
} }