sort nav menu

This commit is contained in:
sonora 2014-09-10 23:29:57 +02:00
parent 6673001c74
commit 5d32a24012

View file

@ -237,13 +237,13 @@ public class SettingsNavigationActivity extends SettingsBaseActivity {
settings.SHOW_CAMERAS, settings.SHOW_LANES }, preference.getTitle()); settings.SHOW_CAMERAS, settings.SHOW_LANES }, preference.getTitle());
return true; return true;
} else if (preference == speakAlarms) { } else if (preference == speakAlarms) {
showBooleanSettings(new String[] { getString(R.string.speak_street_names), getString(R.string.speak_traffic_warnings), getString(R.string.speak_cameras), showBooleanSettings(new String[] { getString(R.string.speak_street_names), getString(R.string.speak_traffic_warnings),
getString(R.string.speak_speed_limit), getString(R.string.speak_speed_limit), getString(R.string.speak_cameras),
getString(R.string.speak_favorites), getString(R.string.speak_favorites),
getString(R.string.speak_poi), getString(R.string.speak_poi),
getString(R.string.announce_gpx_waypoints)}, getString(R.string.announce_gpx_waypoints)},
new OsmandPreference[] { settings.SPEAK_STREET_NAMES, settings.SPEAK_TRAFFIC_WARNINGS, new OsmandPreference[] { settings.SPEAK_STREET_NAMES, settings.SPEAK_TRAFFIC_WARNINGS,
settings.SPEAK_SPEED_CAMERA , settings.SPEAK_SPEED_LIMIT, settings.SPEAK_SPEED_LIMIT, settings.SPEAK_SPEED_CAMERA,
settings.ANNOUNCE_NEARBY_FAVORITES, settings.ANNOUNCE_NEARBY_POI, settings.ANNOUNCE_WPT}, preference.getTitle()); settings.ANNOUNCE_NEARBY_FAVORITES, settings.ANNOUNCE_NEARBY_POI, settings.ANNOUNCE_WPT}, preference.getTitle());
return true; return true;
} }