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="false"
|
237 |
android:key="show_3d_map"
|
238 |
android:summary="show map in 3D [BETA]"
|
239 |
android:title="3D" />
|
240 |
<!-- <CheckBoxPreference -->
|
241 |
<!-- android:defaultValue="true" -->
|
242 |
<!-- android:key="show_2d3d_toggle" -->
|
243 |
<!-- android:summary="show 2D/3D toggle instead of Map off/on toggle" -->
|
244 |
<!-- android:title="2D/3D toggle" /> -->
|
245 |
<CheckBoxPreference
|
246 |
android:defaultValue="true"
|
247 |
android:key="save_zoomlevel"
|
248 |
android:summary="save last Zoomlevel"
|
249 |
android:title="Zoomlevel" />
|
250 |
<CheckBoxPreference
|
251 |
android:defaultValue="true"
|
252 |
android:key="autozoom_flag"
|
253 |
android:summary="set map zoom automatically according to driving speed"
|
254 |
android:title="Autozoom" />
|
255 |
<CheckBoxPreference
|
256 |
android:defaultValue="false"
|
257 |
android:key="c_linedrawing"
|
258 |
android:summary="map drawing is faster, but it may look choppy"
|
259 |
android:title="Faster Mapdrwaing" />
|
260 |
<CheckBoxPreference
|
261 |
android:defaultValue="true"
|
262 |
android:key="use_anti_aliasing"
|
263 |
android:summary="draw with AntiAlias, map is faster when this is OFF"
|
264 |
android:title="AntiAlias" />
|
265 |
<CheckBoxPreference
|
266 |
android:defaultValue="true"
|
267 |
android:key="use_map_filtering"
|
268 |
android:summary="draw Map with filtering on. this looks nicer, but needs more CPU power"
|
269 |
android:title="Map Filtering" />
|
270 |
<CheckBoxPreference
|
271 |
android:defaultValue="true"
|
272 |
android:key="use_custom_font"
|
273 |
android:summary="use ZANavi custom font"
|
274 |
android:title="use custom Font" />
|
275 |
<CheckBoxPreference
|
276 |
android:defaultValue="true"
|
277 |
android:key="use_smooth_drawing"
|
278 |
android:summary="Smooth drawing when moving or when using compass [BETA]"
|
279 |
android:title="Smooth Drawing" />
|
280 |
<CheckBoxPreference
|
281 |
android:defaultValue="false"
|
282 |
android:dependency="use_smooth_drawing"
|
283 |
android:key="use_more_smooth_drawing"
|
284 |
android:layout="?android:attr/preferenceLayoutChild"
|
285 |
android:summary="Much smoother drawing, WARNING: WILL EAT ALL your CPU!!"
|
286 |
android:title="Even Smoother Drawing" >
|
287 |
</CheckBoxPreference>
|
288 |
<CheckBoxPreference
|
289 |
android:defaultValue="true"
|
290 |
android:key="show_multipolygons"
|
291 |
android:summary="draw lines and areas from multipolygons"
|
292 |
android:title="Multipolygons" />
|
293 |
<!-- <CheckBoxPreference -->
|
294 |
<!-- android:defaultValue="true" -->
|
295 |
<!-- android:key="show_vehicle_3d" -->
|
296 |
<!-- android:summary="show vehicle correctly in 3D mode" -->
|
297 |
<!-- android:title="Vehicle 3D" /> -->
|
298 |
|
299 |
<ListPreference
|
300 |
android:defaultValue="0"
|
301 |
android:entries="@array/themesArray"
|
302 |
android:entryValues="@array/themesValues"
|
303 |
android:key="current_theme"
|
304 |
android:summary="Select Application Theme"
|
305 |
android:title="Theme" />
|
306 |
<ListPreference
|
307 |
android:defaultValue="3"
|
308 |
android:entries="@array/mapfontsizeArray"
|
309 |
android:entryValues="@array/mapfontsizeValues"
|
310 |
android:key="map_font_size"
|
311 |
android:summary="Select font size for map text"
|
312 |
android:title="map font size" />
|
313 |
<!--
|
314 |
<ListPreference
|
315 |
android:defaultValue="0"
|
316 |
android:entries="@array/drawatorderArray"
|
317 |
android:entryValues="@array/drawatorderValues"
|
318 |
android:key="drawatorder"
|
319 |
android:summary="Draw more Detail on map. change only on fast devices!"
|
320 |
android:title="Draw more Detail" />
|
321 |
-->
|
322 |
<ListPreference
|
323 |
android:defaultValue="0"
|
324 |
android:entries="@array/drawatorder2Array"
|
325 |
android:entryValues="@array/drawatorder2Values"
|
326 |
android:key="more_map_detail"
|
327 |
android:summary="Draw more Detail on map. only on fast devices! needs a RESTART!!"
|
328 |
android:title="More map detail [BETA]" />
|
329 |
<ListPreference
|
330 |
android:defaultValue="7168"
|
331 |
android:entries="@array/mapcacheArray"
|
332 |
android:entryValues="@array/mapcacheValues"
|
333 |
android:key="mapcache"
|
334 |
android:summary="Cachesize for Mapdrawing"
|
335 |
android:title="Cache for Map" />
|
336 |
<ListPreference
|
337 |
android:defaultValue="2"
|
338 |
android:entries="@array/streetsearchrArray"
|
339 |
android:entryValues="@array/streetsearchrValues"
|
340 |
android:key="streetsearch_r"
|
341 |
android:summary="Searchradius for streets inside a town. Bigger radius will find streets further away from town center"
|
342 |
android:title="Searchradius" />
|
343 |
|
344 |
<CheckBoxPreference
|
345 |
android:defaultValue="true"
|
346 |
android:key="gui_oneway_arrows"
|
347 |
android:summary="show oneway street arrows [BETA]"
|
348 |
android:title="OneWay Arrows" />
|
349 |
<CheckBoxPreference
|
350 |
android:defaultValue="true"
|
351 |
android:key="shrink_on_high_dpi"
|
352 |
android:summary="use 240dpi on high DPI displays (>320dpi). needs RESTART!"
|
353 |
android:title="High DPI" />
|
354 |
<CheckBoxPreference
|
355 |
android:defaultValue="false"
|
356 |
android:key="streets_only"
|
357 |
android:summary="show only streets on map. map display is faster with this setting"
|
358 |
android:title="Streets only" />
|
359 |
</PreferenceCategory>
|
360 |
<PreferenceCategory android:title="Debug" >
|
361 |
<CheckBoxPreference
|
362 |
android:defaultValue="false"
|
363 |
android:key="show_debug_messages"
|
364 |
android:summary="show Debug Messages [DEBUG]"
|
365 |
android:title="Debug Mgs" />
|
366 |
<CheckBoxPreference
|
367 |
android:defaultValue="false"
|
368 |
android:key="enable_debug_functions"
|
369 |
android:summary="enable Debug functions in menu [DEBUG]"
|
370 |
android:title="Debug Functions" />
|
371 |
<CheckBoxPreference
|
372 |
android:defaultValue="false"
|
373 |
android:key="enable_debug_write_gpx"
|
374 |
android:summary="write route to GPX file [DEBUG]"
|
375 |
android:title="Write route" />
|
376 |
<CheckBoxPreference
|
377 |
android:defaultValue="false"
|
378 |
android:key="show_real_gps_pos"
|
379 |
android:summary="Show real GPS pos [DEBUG]"
|
380 |
android:title="Show real GPS position and angle on map" />
|
381 |
<CheckBoxPreference
|
382 |
android:defaultValue="false"
|
383 |
android:key="item_dump"
|
384 |
android:summary="show item dump [DEBUG]"
|
385 |
android:title="show item dump" />
|
386 |
<CheckBoxPreference
|
387 |
android:defaultValue="false"
|
388 |
android:key="show_route_rects"
|
389 |
android:summary="show route rectangles [DEBUG]"
|
390 |
android:title="show route rectangles" />
|
391 |
</PreferenceCategory>
|
392 |
<PreferenceCategory android:title="Language" >
|
393 |
<ListPreference
|
394 |
android:defaultValue="*DEFAULT*"
|
395 |
android:entries="@array/langArray"
|
396 |
android:entryValues="@array/langValues"
|
397 |
android:key="navit_lang"
|
398 |
android:summary="Select Language for messages. needs a RESTART!!"
|
399 |
android:title="Language" />
|
400 |
</PreferenceCategory>
|
401 |
<PreferenceCategory android:title="Data" >
|
402 |
<EditTextPreference
|
403 |
android:dialogMessage="mapdir"
|
404 |
android:dialogTitle="Enter Map Directory"
|
405 |
android:key="map_directory"
|
406 |
android:summary="Change mapdirectory. needs a RESTART!!"
|
407 |
android:title="Custom Map Directory" />
|
408 |
|
409 |
<ListPreference
|
410 |
android:defaultValue="0"
|
411 |
android:entries="@array/storageArray"
|
412 |
android:entryValues="@array/storageValues"
|
413 |
android:key="storage_directory"
|
414 |
android:summary="Change mapdirectory. needs a RESTART!!"
|
415 |
android:title="Select Storage" />
|
416 |
</PreferenceCategory>
|
417 |
<PreferenceCategory android:title="Info" >
|
418 |
<EditTextPreference
|
419 |
android:name="About"
|
420 |
android:defaultValue=""
|
421 |
android:key="about_edit_text"
|
422 |
android:selectable="false"
|
423 |
android:summary="ZANavi Version ???"
|
424 |
android:title="ZANavi Version" />
|
425 |
</PreferenceCategory>
|
426 |
|
427 |
</PreferenceScreen>
|