add blanks

This commit is contained in:
sonora 2017-01-23 23:57:57 +01:00
parent 9176e5a37c
commit c7c63c0a6b

View file

@ -100,7 +100,7 @@ public class SettingsMonitoringActivity extends SettingsBaseActivity {
names = new String[floatValues.length]; names = new String[floatValues.length];
names[0] = getString(R.string.shared_string_not_selected); names[0] = getString(R.string.shared_string_not_selected);
for(int i = 1; i < floatValues.length; i++) { for(int i = 1; i < floatValues.length; i++) {
names[i] = floatValues[i].intValue() + " " + getString(R.string.m) + " (" + Math.round(floatValues[i]/0.3048f) + getString(R.string.foot) + ")"; names[i] = floatValues[i].intValue() + " " + getString(R.string.m) + " (" + Math.round(floatValues[i]/0.3048f) + " " + getString(R.string.foot) + ")";
} }
cat.addPreference(createListPreference(settings.SAVE_TRACK_PRECISION, names, floatValues, cat.addPreference(createListPreference(settings.SAVE_TRACK_PRECISION, names, floatValues,
R.string.save_track_precision, R.string.save_track_precision_descr)); R.string.save_track_precision, R.string.save_track_precision_descr));