/[zanavi_public1]/navit/navit/android/res/xml/preferences.xml
ZANavi

Contents of /navit/navit/android/res/xml/preferences.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 52 - (hide annotations) (download) (as text)
Mon Nov 7 10:01:21 2016 UTC (7 years, 4 months ago) by zoff99
File MIME type: text/xml
File size: 21105 byte(s)
v2.0.53
1 zoff99 2 <?xml version="1.0" encoding="utf-8"?>
2 zoff99 27 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
3    
4     <PreferenceCategory android:title="Position" >
5     <CheckBoxPreference
6 zoff99 28 android:defaultValue="true"
7 zoff99 27 android:key="use_fast_provider"
8     android:summary="Use GSM/3g/Wireless networks for getting position"
9     android:title="GSM/3g/Wireless" />
10     <CheckBoxPreference
11 zoff99 28 android:defaultValue="true"
12 zoff99 27 android:key="use_agps"
13     android:summary="Use aGPS (assisted GPS) to get a faster fix (uses Internet)"
14     android:title="aGPS" />
15     <CheckBoxPreference
16     android:defaultValue="true"
17     android:key="follow_gps"
18     android:summary="Center on GPS. activate this for Compass heading to work"
19     android:title="Follow" />
20     <CheckBoxPreference
21     android:defaultValue="true"
22     android:key="use_lock_on_roads"
23     android:summary="lock Vehicle on nearest Road. turn off if you are walking or driving offroad"
24     android:title="lock on Roads" />
25     <CheckBoxPreference
26     android:defaultValue="false"
27     android:key="show_vehicle_in_center"
28     android:summary="show vehicle in screen center, instead of the lower half of the screen"
29     android:title="Vehicle in center" />
30     <CheckBoxPreference
31 zoff99 41 android:defaultValue="true"
32 zoff99 27 android:key="show_sat_status"
33     android:summary="show Satellite status"
34     android:title="Sat Status" />
35     </PreferenceCategory>
36     <PreferenceCategory android:title="Direction" >
37     <CheckBoxPreference
38     android:defaultValue="false"
39     android:key="use_compass_heading_base"
40     android:summary="Get direction from compass. needs lots of CPU! The worldview will show incorrect position!"
41     android:title="Compass" >
42     </CheckBoxPreference>
43     <CheckBoxPreference
44     android:defaultValue="false"
45     android:dependency="use_compass_heading_base"
46     android:key="use_compass_heading_always"
47     android:layout="?android:attr/preferenceLayoutChild"
48     android:summary="Get current heading from compass even at higher speeds"
49     android:title="Compass always" />
50     <CheckBoxPreference
51     android:defaultValue="false"
52     android:dependency="use_compass_heading_base"
53     android:key="use_compass_heading_fast"
54     android:layout="?android:attr/preferenceLayoutChild"
55     android:summary="turns much smoother, WARNING: WILL EAT ALL your CPU!!"
56     android:title="fast Compass" >
57     </CheckBoxPreference>
58     </PreferenceCategory>
59     <PreferenceCategory android:title="Units" >
60     <CheckBoxPreference
61     android:defaultValue="false"
62     android:key="use_imperial"
63     android:summary="Use Imperial units instead of metric units"
64     android:title="Imperial" />
65     </PreferenceCategory>
66 zoff99 40 <PreferenceCategory android:title="Tracking" android:key="category_tracking">
67     <fr.atcm.carpooling.views.utils.SeekBarPreference
68     android:defaultValue="250"
69     android:dialogMessage="0:connected value"
70     android:key="tracking_connected_pref"
71     android:max="1000"
72     android:summary="Roadsegment must be connected to previous roadsegment"
73     android:text=""
74     android:title="Roadsegment connected value" />
75     <fr.atcm.carpooling.views.utils.SeekBarPreference
76     android:defaultValue="40"
77     android:dialogMessage="0:angle value"
78     android:key="tracking_angle_pref"
79     android:max="200"
80     android:summary="Roadsegment must point in the direction of your heading"
81     android:text=""
82     android:title="Roadsegment direction" />
83     </PreferenceCategory>
84 zoff99 27 <PreferenceCategory android:title="Routing" >
85     <CheckBoxPreference
86     android:defaultValue="true"
87     android:key="use_route_highways"
88     android:summary="prefer Highways for routing"
89     android:title="prefer Highways" />
90 zoff99 41 <!-- <CheckBoxPreference -->
91     <!-- android:defaultValue="true" -->
92     <!-- android:key="use_index_search" -->
93     <!-- android:summary="use faster and better index search [donate version]" -->
94     <!-- android:title="index search" /> -->
95 zoff99 31
96 zoff99 40 <CheckBoxPreference
97     android:defaultValue="false"
98     android:key="roadspeed_warning"
99     android:summary="Warns when driving to fast [donate version]"
100     android:title="Roadspeed warning" />
101    
102 zoff99 41 <ListPreference
103     android:defaultValue="20"
104     android:entries="@array/roadspeed_warning_marginArray"
105     android:entryValues="@array/roadspeed_warning_marginValues"
106     android:key="roadspeed_warning_margin"
107     android:summary="Margin for speed warning"
108     android:title="Roadspeed warning margin" />
109    
110 zoff99 40 <CheckBoxPreference
111     android:defaultValue="false"
112     android:key="lane_assist"
113     android:summary="Shows which lanes you need to drive on [donate version]"
114     android:title="Lane assistance" />
115    
116 zoff99 41
117     <!--
118     <fr.atcm.carpooling.views.utils.SeekBarPreference
119     android:defaultValue="20"
120     android:dialogMessage="10:street_1_city"
121     android:key="road_prio_weight_street_1_city"
122     android:max="60"
123     android:summary=""
124     android:text=""
125     android:title="street_1_city" />
126     -->
127    
128    
129    
130 zoff99 31 <ListPreference
131     android:defaultValue="0"
132     android:entries="@array/trafficlights_delayArray"
133     android:entryValues="@array/trafficlights_delayValues"
134     android:key="trafficlights_delay"
135     android:summary="calculate traffic lights delay for routing"
136     android:title="Traffic lights delay" />
137 zoff99 40 <ListPreference
138     android:defaultValue="car"
139     android:entries="@array/routing_profileArray"
140     android:entryValues="@array/routing_profileValues"
141     android:key="routing_profile"
142     android:summary="set the profile for routing"
143     android:title="Routing Profile" />
144 zoff99 41 <ListPreference
145     android:defaultValue="0"
146     android:entries="@array/routing_engineArray"
147     android:entryValues="@array/routing_engineValues"
148     android:key="routing_engine"
149     android:summary="set the routing engine"
150     android:title="Routing Engine" />
151    
152 zoff99 40 <fr.atcm.carpooling.views.utils.SeekBarPreference
153 zoff99 41 android:defaultValue="58"
154 zoff99 40 android:dialogMessage="10:road priority 1"
155     android:key="road_priority_001"
156     android:max="200"
157     android:summary="change the usage of roads for bicycle routing"
158     android:text=""
159     android:title="Street priority 1" />
160    
161     <fr.atcm.carpooling.views.utils.SeekBarPreference
162 zoff99 41 android:defaultValue="319"
163 zoff99 40 android:dialogMessage="10:road priority 2"
164     android:key="road_priority_002"
165     android:max="500"
166     android:summary="change the usage of larger roads for bicycle routing"
167     android:text=""
168     android:title="Street priority 2" />
169    
170     <fr.atcm.carpooling.views.utils.SeekBarPreference
171 zoff99 41 android:defaultValue="4990"
172 zoff99 40 android:dialogMessage="10:road priority 3"
173     android:key="road_priority_003"
174     android:max="5000"
175     android:summary="change the usage of even bigger roads for bicycle routing"
176     android:text=""
177     android:title="Street priority 3" />
178    
179     <fr.atcm.carpooling.views.utils.SeekBarPreference
180     android:defaultValue="5"
181     android:dialogMessage="0:road priority 4"
182     android:key="road_priority_004"
183     android:max="20"
184     android:summary="change the usage of roads with cycle lanes"
185     android:text=""
186     android:title="Cycle lanes priority" />
187    
188 zoff99 41
189     <fr.atcm.carpooling.views.utils.SeekBarPreference
190     android:defaultValue="63"
191     android:dialogMessage="20:Traffic Factor"
192     android:key="traffic_speed_factor"
193     android:max="100"
194     android:summary="how much will traffic slow down your speed"
195     android:text=""
196     android:title="Traffic Factor" />
197    
198     <!--
199 zoff99 40 <CheckBoxPreference
200     android:defaultValue="false"
201     android:key="avoid_sharp_turns"
202     android:summary="try to avoid sharp turns, and rather go a longer way around [BETA]"
203     android:title="Avoid sharp turns" />
204 zoff99 41 -->
205     <CheckBoxPreference
206 zoff99 31 android:defaultValue="true"
207 zoff99 27 android:key="speak_street_names"
208     android:summary="Say Streetnames when navigating. on foreign languages streetnames may sound strange!"
209     android:title="speak Streetnames" />
210 zoff99 34 <CheckBoxPreference
211     android:defaultValue="true"
212     android:key="speak_filter_special_chars"
213     android:summary="filter special chars when speaking streetnames"
214     android:title="filter special chars" />
215    
216 zoff99 28 <ListPreference
217     android:defaultValue="2"
218     android:entries="@array/route_styleArray"
219     android:entryValues="@array/route_styleValues"
220     android:key="route_style"
221     android:summary="Paint Route on map in different styles"
222     android:title="Route Style" />
223 zoff99 27 </PreferenceCategory>
224     <PreferenceCategory android:title="GUI" >
225     <CheckBoxPreference
226 zoff99 41 android:defaultValue="false"
227     android:key="show_poi_on_map"
228     android:summary="show POI on map"
229     android:title="show POI" />
230     <CheckBoxPreference
231 zoff99 40 android:defaultValue="true"
232     android:key="show_status_bar"
233     android:summary="always show top status bar"
234     android:title="top status bar" />
235     <CheckBoxPreference
236 zoff99 51 android:defaultValue="true"
237     android:key="auto_night_mode"
238 zoff99 52 android:summary="automatically switch between day and night mode"
239 zoff99 51 android:title="auto night mode" />
240    
241     <fr.atcm.carpooling.views.utils.SeekBarPreference
242     android:defaultValue="9"
243     android:dialogMessage="1:night mode lux"
244     android:key="night_mode_lux"
245     android:max="160"
246     android:summary="value when night mode is switched on"
247     android:text=""
248     android:title="night mode lux" />
249    
250     <fr.atcm.carpooling.views.utils.SeekBarPreference
251     android:defaultValue="19"
252     android:dialogMessage="1:night mode buffer"
253     android:key="night_mode_buffer"
254     android:max="50"
255     android:summary="buffer between night and day mode"
256     android:text=""
257     android:title="buffer night mode" />
258    
259     <CheckBoxPreference
260 zoff99 27 android:defaultValue="false"
261     android:key="show_3d_map"
262     android:summary="show map in 3D [BETA]"
263     android:title="3D" />
264 zoff99 41 <!-- <CheckBoxPreference -->
265     <!-- android:defaultValue="true" -->
266     <!-- android:key="show_2d3d_toggle" -->
267     <!-- android:summary="show 2D/3D toggle instead of Map off/on toggle" -->
268     <!-- android:title="2D/3D toggle" /> -->
269 zoff99 27 <CheckBoxPreference
270     android:defaultValue="true"
271     android:key="save_zoomlevel"
272     android:summary="save last Zoomlevel"
273     android:title="Zoomlevel" />
274     <CheckBoxPreference
275     android:defaultValue="true"
276 zoff99 34 android:key="autozoom_flag"
277     android:summary="set map zoom automatically according to driving speed"
278     android:title="Autozoom" />
279     <CheckBoxPreference
280 zoff99 40 android:defaultValue="false"
281     android:key="c_linedrawing"
282     android:summary="map drawing is faster, but it may look choppy"
283 zoff99 52 android:title="Faster Mapdrawing" />
284 zoff99 40 <CheckBoxPreference
285 zoff99 34 android:defaultValue="true"
286 zoff99 27 android:key="use_anti_aliasing"
287     android:summary="draw with AntiAlias, map is faster when this is OFF"
288     android:title="AntiAlias" />
289     <CheckBoxPreference
290 zoff99 28 android:defaultValue="true"
291 zoff99 30 android:key="use_map_filtering"
292     android:summary="draw Map with filtering on. this looks nicer, but needs more CPU power"
293     android:title="Map Filtering" />
294     <CheckBoxPreference
295     android:defaultValue="true"
296 zoff99 27 android:key="use_custom_font"
297     android:summary="use ZANavi custom font"
298     android:title="use custom Font" />
299 zoff99 30 <CheckBoxPreference
300     android:defaultValue="true"
301     android:key="use_smooth_drawing"
302     android:summary="Smooth drawing when moving or when using compass [BETA]"
303     android:title="Smooth Drawing" />
304 zoff99 31 <CheckBoxPreference
305 zoff99 34 android:defaultValue="false"
306     android:dependency="use_smooth_drawing"
307     android:key="use_more_smooth_drawing"
308     android:layout="?android:attr/preferenceLayoutChild"
309     android:summary="Much smoother drawing, WARNING: WILL EAT ALL your CPU!!"
310     android:title="Even Smoother Drawing" >
311     </CheckBoxPreference>
312     <CheckBoxPreference
313 zoff99 31 android:defaultValue="true"
314     android:key="show_multipolygons"
315     android:summary="draw lines and areas from multipolygons"
316     android:title="Multipolygons" />
317 zoff99 41 <!-- <CheckBoxPreference -->
318     <!-- android:defaultValue="true" -->
319     <!-- android:key="show_vehicle_3d" -->
320     <!-- android:summary="show vehicle correctly in 3D mode" -->
321     <!-- android:title="Vehicle 3D" /> -->
322 zoff99 31
323 zoff99 27 <ListPreference
324 zoff99 40 android:defaultValue="0"
325     android:entries="@array/themesArray"
326     android:entryValues="@array/themesValues"
327     android:key="current_theme"
328     android:summary="Select Application Theme"
329     android:title="Theme" />
330     <ListPreference
331 zoff99 41 android:defaultValue="3"
332 zoff99 27 android:entries="@array/mapfontsizeArray"
333     android:entryValues="@array/mapfontsizeValues"
334     android:key="map_font_size"
335     android:summary="Select font size for map text"
336     android:title="map font size" />
337 zoff99 34 <!--
338 zoff99 27 <ListPreference
339     android:defaultValue="0"
340     android:entries="@array/drawatorderArray"
341     android:entryValues="@array/drawatorderValues"
342     android:key="drawatorder"
343     android:summary="Draw more Detail on map. change only on fast devices!"
344 zoff99 34 android:title="Draw more Detail" />
345     -->
346 zoff99 27 <ListPreference
347 zoff99 31 android:defaultValue="0"
348     android:entries="@array/drawatorder2Array"
349     android:entryValues="@array/drawatorder2Values"
350     android:key="more_map_detail"
351     android:summary="Draw more Detail on map. only on fast devices! needs a RESTART!!"
352     android:title="More map detail [BETA]" />
353     <ListPreference
354 zoff99 27 android:defaultValue="7168"
355     android:entries="@array/mapcacheArray"
356     android:entryValues="@array/mapcacheValues"
357     android:key="mapcache"
358     android:summary="Cachesize for Mapdrawing"
359     android:title="Cache for Map" />
360     <ListPreference
361 zoff99 28 android:defaultValue="2"
362 zoff99 27 android:entries="@array/streetsearchrArray"
363     android:entryValues="@array/streetsearchrValues"
364     android:key="streetsearch_r"
365     android:summary="Searchradius for streets inside a town. Bigger radius will find streets further away from town center"
366     android:title="Searchradius" />
367    
368     <CheckBoxPreference
369 zoff99 28 android:defaultValue="true"
370 zoff99 27 android:key="gui_oneway_arrows"
371     android:summary="show oneway street arrows [BETA]"
372     android:title="OneWay Arrows" />
373 zoff99 34 <CheckBoxPreference
374     android:defaultValue="true"
375     android:key="shrink_on_high_dpi"
376     android:summary="use 240dpi on high DPI displays (>320dpi). needs RESTART!"
377     android:title="High DPI" />
378     <CheckBoxPreference
379     android:defaultValue="false"
380     android:key="streets_only"
381     android:summary="show only streets on map. map display is faster with this setting"
382     android:title="Streets only" />
383 zoff99 27 </PreferenceCategory>
384     <PreferenceCategory android:title="Debug" >
385     <CheckBoxPreference
386     android:defaultValue="false"
387     android:key="show_debug_messages"
388     android:summary="show Debug Messages [DEBUG]"
389     android:title="Debug Mgs" />
390     <CheckBoxPreference
391     android:defaultValue="false"
392     android:key="enable_debug_functions"
393     android:summary="enable Debug functions in menu [DEBUG]"
394     android:title="Debug Functions" />
395 zoff99 29 <CheckBoxPreference
396     android:defaultValue="false"
397 zoff99 52 android:key="enable_debug_crashdetect"
398     android:summary="detect if App has crashed [DEBUG]"
399     android:title="Detect App Crash" />
400     <CheckBoxPreference
401     android:defaultValue="false"
402 zoff99 40 android:key="enable_debug_write_gpx"
403     android:summary="write route to GPX file [DEBUG]"
404     android:title="Write route" />
405     <CheckBoxPreference
406     android:defaultValue="false"
407 zoff99 41 android:key="show_real_gps_pos"
408     android:summary="Show real GPS pos [DEBUG]"
409     android:title="Show real GPS position and angle on map" />
410     <CheckBoxPreference
411     android:defaultValue="false"
412 zoff99 46 android:key="show_maps_debug_view"
413     android:summary="Show maps debug view [DEBUG]"
414     android:title="Show maps on lower zoom levels" />
415     <CheckBoxPreference
416     android:defaultValue="false"
417 zoff99 48 android:key="show_turn_restrictions"
418     android:summary="Show Turnrestrictions [DEBUG]"
419     android:title="Show Turnrestrictions" />
420     <CheckBoxPreference
421     android:defaultValue="false"
422 zoff99 29 android:key="item_dump"
423     android:summary="show item dump [DEBUG]"
424     android:title="show item dump" />
425 zoff99 31 <CheckBoxPreference
426     android:defaultValue="false"
427     android:key="show_route_rects"
428     android:summary="show route rectangles [DEBUG]"
429     android:title="show route rectangles" />
430     </PreferenceCategory>
431 zoff99 27 <PreferenceCategory android:title="Language" >
432     <ListPreference
433     android:defaultValue="*DEFAULT*"
434     android:entries="@array/langArray"
435     android:entryValues="@array/langValues"
436     android:key="navit_lang"
437     android:summary="Select Language for messages. needs a RESTART!!"
438     android:title="Language" />
439     </PreferenceCategory>
440     <PreferenceCategory android:title="Data" >
441     <EditTextPreference
442     android:dialogMessage="mapdir"
443     android:dialogTitle="Enter Map Directory"
444     android:key="map_directory"
445     android:summary="Change mapdirectory. needs a RESTART!!"
446 zoff99 40 android:title="Custom Map Directory" />
447    
448     <ListPreference
449     android:defaultValue="0"
450     android:entries="@array/storageArray"
451     android:entryValues="@array/storageValues"
452     android:key="storage_directory"
453     android:summary="Change mapdirectory. needs a RESTART!!"
454     android:title="Select Storage" />
455 zoff99 27 </PreferenceCategory>
456     <PreferenceCategory android:title="Info" >
457     <EditTextPreference
458     android:name="About"
459     android:defaultValue=""
460     android:key="about_edit_text"
461     android:selectable="false"
462     android:summary="ZANavi Version ???"
463     android:title="ZANavi Version" />
464     </PreferenceCategory>
465    
466     </PreferenceScreen>

   
Visit the ZANavi Wiki