aboutsummaryrefslogtreecommitdiffstats
path: root/main/res
diff options
context:
space:
mode:
authorrsudev <rasch@munin-soft.de>2013-09-13 07:47:00 +0200
committerrsudev <rasch@munin-soft.de>2013-09-13 07:47:00 +0200
commit3032c32be5ba8c19eeb02c1e6d0dce3db307d511 (patch)
treebc19b7eb9abd981f021cb9db9f20496192a16292 /main/res
parente150d39ab061d08455a1d75bec811fd322a211b6 (diff)
downloadcgeo-3032c32be5ba8c19eeb02c1e6d0dce3db307d511.zip
cgeo-3032c32be5ba8c19eeb02c1e6d0dce3db307d511.tar.gz
cgeo-3032c32be5ba8c19eeb02c1e6d0dce3db307d511.tar.bz2
Implements #3220, Feature request: Show mapsforge-map "bigger" on high-res-displays
Made the mapsforge textscale setting follow the device dpi, if so wanted, default true.
Diffstat (limited to 'main/res')
-rw-r--r--main/res/values/preference_keys.xml1
-rw-r--r--main/res/values/strings.xml2
-rw-r--r--main/res/xml/preferences.xml6
3 files changed, 9 insertions, 0 deletions
diff --git a/main/res/values/preference_keys.xml b/main/res/values/preference_keys.xml
index e82c9d6..140d3b3 100644
--- a/main/res/values/preference_keys.xml
+++ b/main/res/values/preference_keys.xml
@@ -38,6 +38,7 @@
<string name="pref_choose_list">choose_list</string>
<string name="pref_mapsource">mapsource</string>
<string name="pref_mapDirectory">mapDirectory</string>
+ <string name="pref_mapsforge_scale_text">mapsforgeScaleText</string>
<string name="pref_renderthemepath">renderthemepath</string>
<string name="pref_showwaypointsthreshold">waypointsthreshold</string>
<string name="pref_maptrail">maptrail</string>
diff --git a/main/res/values/strings.xml b/main/res/values/strings.xml
index 554ab0e..311b95a 100644
--- a/main/res/values/strings.xml
+++ b/main/res/values/strings.xml
@@ -478,6 +478,8 @@
<string name="settings_info_themes_title">Info on Map Themes</string>
<string name="settings_info_themes">c:geo supports custom themes for offline maps. These can be used to change the color style of the map (e.g. to have a nightview map) or to highlight certain objects like cycle paths or height lines within the map.</string>
<string name="init_mapsource_select">Select Map Source</string>
+ <string name="settings_title_scale_map_text">Scale Map Text</string>
+ <string name="settings_summary_scale_map_text">Scale text labels on offline map according to device dpi</string>
<string name="init_map_directory_description">Directory with offline maps</string>
<string name="init_gpx_exportdir">GPX Export Directory</string>
<string name="init_gpx_importdir">GPX Import Directory</string>
diff --git a/main/res/xml/preferences.xml b/main/res/xml/preferences.xml
index 7ea3b59..0cbeb71 100644
--- a/main/res/xml/preferences.xml
+++ b/main/res/xml/preferences.xml
@@ -274,6 +274,12 @@
android:key="@string/pref_renderthemepath"
android:title="@string/init_rendertheme_folder" />
+ <CheckBoxPreference
+ android:key="@string/pref_mapsforge_scale_text"
+ android:title="@string/settings_title_scale_map_text"
+ android:summary="@string/settings_summary_scale_map_text"
+ android:defaultValue="true" />
+
</PreferenceCategory>
<PreferenceCategory