aboutsummaryrefslogtreecommitdiffstats
path: root/res/xml/pref.xml
blob: 103a8cb64948711dc2d613ee2ca827c1d4717e8e (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
<?xml version="1.0" encoding="utf-8"?>
<!-- 
	Copyright (C) 2010 Herbert von Broeuschmeul
	Copyright (C) 2010 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: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" />
		<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" />
	</PreferenceScreen>
	<PreferenceScreen 
		android:title="@string/pref_start_gps_params_title"
		android:shouldDisableView = "true"
		android:enabled="false" >
		<EditTextPreference
			android:key="@string/pref_mintime_key"
			android:title="@string/pref_mintime_title"
			android:defaultValue="@string/defaultTrackMinTime"
			android:summary="@string/pref_mintime_summary" 
			android:inputType="number" />
		<EditTextPreference
			android:key="@string/pref_mindistance_key"
			android:title="@string/pref_mindistance_title"
			android:defaultValue="@string/defaultTrackMinDistance"
			android:inputType="numberDecimal"
			android:summary="@string/pref_mindistance_summary" />
	</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>
</PreferenceScreen>