From 211538eb7a44305597ab8029723ced69415bf459 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Tue, 14 Jun 2011 01:22:55 +0200 Subject: [PATCH] Fix bug 475. Overlay settings --- OsmAnd/res/xml/settings_pref.xml | 10 ++++++---- .../net/osmand/plus/activities/SettingsActivity.java | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/OsmAnd/res/xml/settings_pref.xml b/OsmAnd/res/xml/settings_pref.xml index 36ca1f2cd9..c39bed1b84 100644 --- a/OsmAnd/res/xml/settings_pref.xml +++ b/OsmAnd/res/xml/settings_pref.xml @@ -12,14 +12,16 @@ + + - - + + diff --git a/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java b/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java index b088267aab..85840321da 100644 --- a/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java @@ -362,7 +362,7 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference private void updateTileSourceSummary() { fillTileSourcesToPreference(tileSourcePreference, osmandSettings.MAP_TILE_SOURCES.get(), false); fillTileSourcesToPreference(overlayPreference, osmandSettings.MAP_OVERLAY.get(), true); - fillTileSourcesToPreference(underlayPreference, osmandSettings.MAP_OVERLAY.get(), true); + fillTileSourcesToPreference(underlayPreference, osmandSettings.MAP_UNDERLAY.get(), true); String mapName = " " + osmandSettings.MAP_TILE_SOURCES.get(); //$NON-NLS-1$ String summary = tileSourcePreference.getSummary().toString();