cgeo/c-geo-opensource — pull request #2046 by rsudev (2012-09-14 19:24:26+00:00)
Title: DO NOT MERGE - Map Themes (#1676)

I took @SammysHP s implementation, patched the mapsforge lib with the backport of the relative themes patch and added some more ui to the mix.
I would like to get some feedback on the implementation of the functionality and the ui.
I think it is rather complete for a first step but still has some shortcomings.
- I selected a standard theme directory according to Locus (_themes under the possible map file locations) and the user has to select the main theme xml in this directory. This could cause issues with themes with conflicting resource directories and we should rather have a separate subdirectory for each theme.
- Currently it is not possible to select a theme on the fly in the map menu, only switch the custom theme on and off
- Sometimes there seems to occur a crash in the mapsforge library when switching the theme (not reproducable)

And now some screenshots!

Custome theme (I rather like green :)
![green night](https://github.com/rsudev/c-geo-opensource/blob/local_stuff/screenshots/themeing_1209/screenshot_greennight.png?raw=true)

The new settings:
![Theme settings](https://github.com/rsudev/c-geo-opensource/blob/local_stuff/screenshots/themeing_1209/screenshot_settings_themes.png?raw=true)

Reworked map menu:
![Map menu](https://github.com/rsudev/c-geo-opensource/blob/local_stuff/screenshots/themeing_1209/screenshot_map_menu.png?raw=true)

New map switches submenu:
![Map modes](https://github.com/rsudev/c-geo-opensource/blob/local_stuff/screenshots/themeing_1209/screenshot_mapmodes_menu.png?raw=true)