Maps: Add themes biker, dark, indigo

This commit is contained in:
José Rebelo
2025-09-20 09:33:23 +01:00
parent 1136d977ae
commit a68746c996
3 changed files with 15 additions and 4 deletions
@@ -10,14 +10,17 @@ import java.io.InputStream;
public enum MapTheme implements XmlRenderTheme {
DEFAULT("/assets/mapsforge/default.xml"),
OSMARENDER("/assets/mapsforge/osmarender.xml"),
BIKER("/assets/mapsforge/biker.xml"),
DARK("/assets/mapsforge/dark.xml"),
INDIGO("/assets/mapsforge/indigo.xml"),
MOTORIDER("/assets/mapsforge/motorider.xml"),
OSMARENDER("/assets/mapsforge/osmarender.xml"),
;
private XmlRenderThemeMenuCallback menuCallback;
private final String path;
MapTheme(String path) {
MapTheme(final String path) {
this.path = path;
}
+8 -2
View File
@@ -22,13 +22,19 @@
-->
<string-array name="maps_themes_names">
<item>@string/pref_default</item>
<item>@string/map_theme_osmarender</item>
<item>@string/map_theme_biker</item>
<item>@string/pref_theme_dark</item>
<item>@string/map_theme_indigo</item>
<item>@string/map_theme_motorider</item>
<item>@string/map_theme_osmarender</item>
</string-array>
<string-array name="maps_themes_values">
<item>default</item>
<item>osmarender</item>
<item>biker</item>
<item>dark</item>
<item>indigo</item>
<item>motorider</item>
<item>osmarender</item>
</string-array>
<!-- https://meta.wikimedia.org/wiki/Template:List_of_language_names_ordered_by_code -->
+2
View File
@@ -253,6 +253,8 @@
<string name="pref_theme_dynamic">Dynamic colors</string>
<string name="map_theme_osmarender">Osmarender</string>
<string name="map_theme_motorider">Motorider</string>
<string name="map_theme_biker">Biker</string>
<string name="map_theme_indigo">Indigo</string>
<string name="pref_theme_black_background">Use black background in Dark Theme</string>
<string name="pref_title_block_screenshot">Block screenshots</string>
<string name="pref_summary_block_screenshots">Prevent screenshots and viewing on non-secure displays. Requires a GB restart to become fully effective.</string>