move global recording interval setting below global recording hint
This commit is contained in:
parent
ed5e14db6a
commit
626cc9953f
1 changed files with 6 additions and 5 deletions
|
@ -62,7 +62,12 @@ public class SettingsMonitoringActivity extends SettingsBaseActivity {
|
|||
Preference globalrecord = new Preference(this);
|
||||
globalrecord.setSummary(R.string.save_track_to_gpx_globally_descr);
|
||||
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);
|
||||
pref.setTitle(R.string.save_current_track);
|
||||
pref.setSummary(R.string.save_current_track_descr);
|
||||
|
@ -84,10 +89,6 @@ public class SettingsMonitoringActivity extends SettingsBaseActivity {
|
|||
R.string.save_track_to_gpx_descrp));
|
||||
cat.addPreference(createTimeListPreference(settings.SAVE_TRACK_INTERVAL, SECONDS,
|
||||
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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue