aboutsummaryrefslogtreecommitdiffstats
path: root/res/xml/pref.xml
blob: c1c21ff86da3a7b476d31dd1ad2b343a381913e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<?xml version="1.0" encoding="utf-8"?>
<!-- 
	Copyright (C) 2010, 2011, 2012 Herbert von Broeuschmeul
	Copyright (C) 2010, 2011, 2012 BluetoothGPS4Droid Project
	  
	This file is part of BluetoothGPS4Droid.
	
	BluetoothGPS4Droid is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.
	
	BluetoothGPS4Droid is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.
	
	You should have received a copy of the GNU General Public License
	along with BluetoothGPS4Droid. If not, see : http://www.gnu.org/licenses/.
-->
<PreferenceScreen
	xmlns:android="http://schemas.android.com/apk/res/android"
	android:title="@string/app_name" >
	<ListPreference 
		android:dialogTitle="@string/pref_bluetooth_device_title"
		android:title="@string/pref_bluetooth_device_title" 
		android:key="@string/pref_bluetooth_device_key" 	
		android:summary="@string/pref_bluetooth_device_summary" />
	<CheckBoxPreference 
		android:dependency="@string/pref_bluetooth_device_key"
		android:key="@string/pref_start_gps_key"
		android:persistent="true"
		android:disableDependentsState="true"
		android:title="@string/pref_start_gps_title"
		android:summaryOn="@string/pref_start_gps_summary_on"
		android:summaryOff="@string/pref_start_gps_summary_off" />
	<PreferenceScreen
		android:dependency="@string/pref_start_gps_key"
		android:shouldDisableView="true"
		android:key="@string/pref_gps_location_provider_key"
		android:summary="@string/pref_gps_location_provider_summary"
		android:title="@string/pref_gps_location_provider_title" >
		<CheckBoxPreference 
			android:key="@string/pref_replace_std_gps_key"
			android:persistent="true"
			android:disableDependentsState="true"
			android:defaultValue="true"
			android:title="@string/pref_replace_std_gps_title"
			android:summaryOn="@string/pref_replace_std_gps_summary_on"
			android:summaryOff="@string/pref_replace_std_gps_summary_off" />
		<CheckBoxPreference
			android:key="@string/pref_force_enable_provider_key"
			android:persistent="true"
			android:defaultValue="false"
			android:title="@string/pref_force_enable_provider_title"
			android:summaryOn="@string/pref_force_enable_provider_summary_on"
			android:summaryOff="@string/pref_force_enable_provider_summary_off" />
		<EditTextPreference
			android:dependency="@string/pref_replace_std_gps_key"
			android:key="@string/pref_mock_gps_name_key"
			android:title="@string/pref_mock_gps_name_title"
			android:defaultValue="@string/defaultMockGpsName"
			android:summary="@string/pref_mock_gps_name_summary" />
		<EditTextPreference
			android:key="@string/pref_connection_retries_key"
			android:title="@string/pref_connection_retries_title"
			android:defaultValue="@string/defaultConnectionRetries"
			android:inputType="numberDecimal"
			android:summary="@string/pref_connection_retries_summary" />
	</PreferenceScreen>
	<CheckBoxPreference 
		android:key="@string/pref_sirf_gps_key"
		android:persistent="true"
		android:defaultValue="false"
		android:disableDependentsState="false"
		android:title="@string/pref_sirf_gps_title"
		android:summaryOn="@string/pref_sirf_gps_summary_on"
		android:summaryOff="@string/pref_sirf_gps_summary_off" />
	<PreferenceScreen 
		android:title="@string/pref_start_gps_params_title"
		android:dependency="@string/pref_sirf_gps_key"
		android:orderingFromXml="true"
		android:shouldDisableView = "true" >
		<PreferenceCategory
			android:order="200"
			android:orderingFromXml="true"
			android:title="@string/pref_sirf_nmea_category_title" >
			<CheckBoxPreference
				android:key="@string/pref_sirf_enable_gga_key"
				android:enabled="false"
				android:persistent="true"
				android:defaultValue="true"
				android:title="@string/pref_enable_gga_title"
				android:summaryOn="@string/pref_enable_gga_summary_on"
				android:summaryOff="@string/pref_enable_gga_summary_off" />
			<CheckBoxPreference
				android:key="@string/pref_sirf_enable_rmc_key"
				android:enabled="false"
				android:persistent="true"
				android:defaultValue="true"
				android:title="@string/pref_enable_rmc_title"
				android:summaryOn="@string/pref_enable_rmc_summary_on"
				android:summaryOff="@string/pref_enable_rmc_summary_off" />
			<CheckBoxPreference
				android:key="@string/pref_sirf_enable_gsa_key"
				android:persistent="true"
				android:title="@string/pref_enable_gsa_title"
				android:summaryOn="@string/pref_enable_gsa_summary_on"
				android:summaryOff="@string/pref_enable_gsa_summary_off" />
			<CheckBoxPreference
				android:key="@string/pref_sirf_enable_gsv_key"
				android:persistent="true"
				android:title="@string/pref_enable_gsv_title"
				android:summaryOn="@string/pref_enable_gsv_summary_on"
				android:summaryOff="@string/pref_enable_gsv_summary_off" />
			<CheckBoxPreference
				android:key="@string/pref_sirf_enable_vtg_key"
				android:persistent="true"
				android:title="@string/pref_enable_vtg_title"
				android:summaryOn="@string/pref_enable_vtg_summary_on"
				android:summaryOff="@string/pref_enable_vtg_summary_off" />
			<CheckBoxPreference
				android:key="@string/pref_sirf_enable_gll_key"
				android:persistent="true"
				android:title="@string/pref_enable_gll_title"
				android:summaryOn="@string/pref_enable_gll_summary_on"
				android:summaryOff="@string/pref_enable_gll_summary_off" />
			<CheckBoxPreference
				android:key="@string/pref_sirf_enable_zda_key"
				android:persistent="true"
				android:title="@string/pref_enable_zda_title"
				android:summaryOn="@string/pref_enable_zda_summary_on"
				android:summaryOff="@string/pref_enable_zda_summary_off" />
		</PreferenceCategory>
		<PreferenceCategory
			android:order="100"
			android:title="@string/pref_sirf_gps_category_title" >
			<CheckBoxPreference 
				android:key="@string/pref_sirf_enable_sbas_key"
				android:persistent="true"
				android:defaultValue="true"
				android:title="@string/pref_enable_sbas_title"
				android:summaryOn="@string/pref_enable_sbas_summary_on"
				android:summaryOff="@string/pref_enable_sbas_summary_off" />
			<CheckBoxPreference 
				android:key="@string/pref_sirf_enable_nmea_key"
				android:enabled="false"
				android:persistent="true"
				android:defaultValue="true"
				android:title="@string/pref_enable_nmea_title"
				android:summaryOn="@string/pref_enable_nmea_summary_on"
				android:summaryOff="@string/pref_enable_nmea_summary_off" />
			<CheckBoxPreference 
				android:key="@string/pref_sirf_enable_static_navigation_key"
				android:persistent="true"
				android:defaultValue="false"
				android:title="@string/pref_enable_static_navigation_title"
				android:summaryOn="@string/pref_enable_static_navigation_summary_on"
				android:summaryOff="@string/pref_enable_static_navigation_summary_off" />
		</PreferenceCategory>
	</PreferenceScreen>
	<CheckBoxPreference
		android:enabled="true"
		android:key="@string/pref_recording_key"
		android:persistent="true"
		android:title="@string/pref_recording_title"
		android:summaryOn="@string/pref_recording_summary_on"
		android:summaryOff="@string/pref_recording_summary_off" />
	<PreferenceScreen android:title="@string/pref_recording_params_title" >
		<EditTextPreference
			android:key="@string/pref_trackfile_directory_key"
			android:title="@string/pref_trackfile_directory_title"
			android:defaultValue="@string/defaultTrackFileDirectory"
			android:summary="@string/pref_trackfile_directory_summary" />
		<EditTextPreference
			android:key="@string/pref_trackfile_prefix_key"
			android:title="@string/pref_trackfile_prefix_title"
			android:defaultValue="@string/defaultTrackFilePrefix"
			android:summary="@string/pref_trackfile_prefix_summary" />
	</PreferenceScreen>
	<Preference
		android:key="@string/pref_about_key"
		android:persistent="false"
		android:title="@string/pref_about_title"
		android:summary="@string/pref_about_summary" />	
</PreferenceScreen>