made sensor orientation optional due to high cpu load

This commit is contained in:
Philipp Schaefer
2013-12-19 16:35:07 +01:00
parent 2361de0411
commit 2af53b4699
4 changed files with 28 additions and 9 deletions

View File

@ -85,6 +85,8 @@
<string name="pref_plugins_title">Available plugins</string>
<string name="pref_user_loc">Display user location</string>
<string name="pref_user_loc_sum">Show users position on map</string>
<string name="pref_user_loc_sensor">Use sensor orientation</string>
<string name="pref_user_loc_sensor_sum">Fancier but eats battery packs for breakfast</string>
<string name="pref_user_zoom">Show zoom control</string>
<string name="pref_user_zoom_sum">Shows +/- buttons even on multitouch capable devices.</string>
<string name="pref_fullscreen">Hide in fullscreen mode</string>

View File

@ -19,6 +19,12 @@
android:key="pref_user_loc"
android:summary="@string/pref_user_loc_sum"
android:title="@string/pref_user_loc"/>
<CheckBoxPreference
android:defaultValue="true"
android:key="pref_user_loc_sensor"
android:dependency="pref_user_loc"
android:summary="@string/pref_user_loc_sensor_sum"
android:title="@string/pref_user_loc_sensor"/>
<CheckBoxPreference
android:defaultValue="false"
android:key="pref_user_zoom"