/[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 51 - (show annotations) (download) (as text)
Mon Jul 25 19:29:08 2016 UTC (7 years, 8 months ago) by zoff99
File MIME type: text/xml
File size: 20868 byte(s)
v2.0.52
1 <?xml version="1.0" encoding="utf-8"?>
2 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
3
4 <PreferenceCategory android:title="Position" >
5 <CheckBoxPreference
6 android:defaultValue="true"
7 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 android:defaultValue="true"
12 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 android:defaultValue="true"
32 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 <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 <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 <!-- <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
96 <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 <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 <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
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 <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 <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 <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 <fr.atcm.carpooling.views.utils.SeekBarPreference
153 android:defaultValue="58"
154 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 android:defaultValue="319"
163 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 android:defaultValue="4990"
172 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
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 <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 -->
205 <CheckBoxPreference
206 android:defaultValue="true"
207 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 <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 <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 </PreferenceCategory>
224 <PreferenceCategory android:title="GUI" >
225 <CheckBoxPreference
226 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 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 android:defaultValue="true"
237 android:key="auto_night_mode"
238 android:summary="automatically swtich between day and night mode"
239 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 android:defaultValue="false"
261 android:key="show_3d_map"
262 android:summary="show map in 3D [BETA]"
263 android:title="3D" />
264 <!-- <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 <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 android:key="autozoom_flag"
277 android:summary="set map zoom automatically according to driving speed"
278 android:title="Autozoom" />
279 <CheckBoxPreference
280 android:defaultValue="false"
281 android:key="c_linedrawing"
282 android:summary="map drawing is faster, but it may look choppy"
283 android:title="Faster Mapdrwaing" />
284 <CheckBoxPreference
285 android:defaultValue="true"
286 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 android:defaultValue="true"
291 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 android:key="use_custom_font"
297 android:summary="use ZANavi custom font"
298 android:title="use custom Font" />
299 <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 <CheckBoxPreference
305 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 android:defaultValue="true"
314 android:key="show_multipolygons"
315 android:summary="draw lines and areas from multipolygons"
316 android:title="Multipolygons" />
317 <!-- <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
323 <ListPreference
324 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 android:defaultValue="3"
332 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 <!--
338 <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 android:title="Draw more Detail" />
345 -->
346 <ListPreference
347 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 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 android:defaultValue="2"
362 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 android:defaultValue="true"
370 android:key="gui_oneway_arrows"
371 android:summary="show oneway street arrows [BETA]"
372 android:title="OneWay Arrows" />
373 <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 </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 <CheckBoxPreference
396 android:defaultValue="false"
397 android:key="enable_debug_write_gpx"
398 android:summary="write route to GPX file [DEBUG]"
399 android:title="Write route" />
400 <CheckBoxPreference
401 android:defaultValue="false"
402 android:key="show_real_gps_pos"
403 android:summary="Show real GPS pos [DEBUG]"
404 android:title="Show real GPS position and angle on map" />
405 <CheckBoxPreference
406 android:defaultValue="false"
407 android:key="show_maps_debug_view"
408 android:summary="Show maps debug view [DEBUG]"
409 android:title="Show maps on lower zoom levels" />
410 <CheckBoxPreference
411 android:defaultValue="false"
412 android:key="show_turn_restrictions"
413 android:summary="Show Turnrestrictions [DEBUG]"
414 android:title="Show Turnrestrictions" />
415 <CheckBoxPreference
416 android:defaultValue="false"
417 android:key="item_dump"
418 android:summary="show item dump [DEBUG]"
419 android:title="show item dump" />
420 <CheckBoxPreference
421 android:defaultValue="false"
422 android:key="show_route_rects"
423 android:summary="show route rectangles [DEBUG]"
424 android:title="show route rectangles" />
425 </PreferenceCategory>
426 <PreferenceCategory android:title="Language" >
427 <ListPreference
428 android:defaultValue="*DEFAULT*"
429 android:entries="@array/langArray"
430 android:entryValues="@array/langValues"
431 android:key="navit_lang"
432 android:summary="Select Language for messages. needs a RESTART!!"
433 android:title="Language" />
434 </PreferenceCategory>
435 <PreferenceCategory android:title="Data" >
436 <EditTextPreference
437 android:dialogMessage="mapdir"
438 android:dialogTitle="Enter Map Directory"
439 android:key="map_directory"
440 android:summary="Change mapdirectory. needs a RESTART!!"
441 android:title="Custom Map Directory" />
442
443 <ListPreference
444 android:defaultValue="0"
445 android:entries="@array/storageArray"
446 android:entryValues="@array/storageValues"
447 android:key="storage_directory"
448 android:summary="Change mapdirectory. needs a RESTART!!"
449 android:title="Select Storage" />
450 </PreferenceCategory>
451 <PreferenceCategory android:title="Info" >
452 <EditTextPreference
453 android:name="About"
454 android:defaultValue=""
455 android:key="about_edit_text"
456 android:selectable="false"
457 android:summary="ZANavi Version ???"
458 android:title="ZANavi Version" />
459 </PreferenceCategory>
460
461 </PreferenceScreen>

   
Visit the ZANavi Wiki