From e6606ad7690c84c9ee03c9195859382e9ae1de6b Mon Sep 17 00:00:00 2001 From: rsudev Date: Fri, 18 Oct 2013 12:13:35 +0200 Subject: Fixes part of #2976, allow to manually select map directory Add a directory selection button to map selection. Fix issues with updating map sources preference after selecting a map file. Fix issues with listing map source if only a directory was defined. --- main/res/layout/gpx.xml | 5 ++ .../src/cgeo/geocaching/SelectMapfileActivity.java | 55 ++++++++++++++++++++++ .../geocaching/files/AbstractFileListActivity.java | 8 +++- .../maps/mapsforge/MapsforgeMapProvider.java | 29 ++++++------ .../cgeo/geocaching/settings/SettingsActivity.java | 18 +++++-- 5 files changed, 95 insertions(+), 20 deletions(-) diff --git a/main/res/layout/gpx.xml b/main/res/layout/gpx.xml index c48c28f..948c265 100644 --- a/main/res/layout/gpx.xml +++ b/main/res/layout/gpx.xml @@ -6,6 +6,11 @@ +