aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com>2010-09-25 15:03:45 +0200
committerHerbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com>2010-09-25 15:03:45 +0200
commit6575a79cf6a56ae55311e934707804e3d803815b (patch)
treef0be71806803ee096c124d77d2493d88e1f0628b
parentd8bf8c447f6734f0f87c8f80b1095cb0ae5ef737 (diff)
downloadBlueGPS-6575a79cf6a56ae55311e934707804e3d803815b.zip
BlueGPS-6575a79cf6a56ae55311e934707804e3d803815b.tar.gz
BlueGPS-6575a79cf6a56ae55311e934707804e3d803815b.tar.bz2
add categories in GPS SiRF options
-rw-r--r--res/xml/pref.xml112
1 files changed, 59 insertions, 53 deletions
diff --git a/res/xml/pref.xml b/res/xml/pref.xml
index 0faee9f..2f36f8c 100644
--- a/res/xml/pref.xml
+++ b/res/xml/pref.xml
@@ -65,59 +65,65 @@
<PreferenceScreen
android:title="@string/pref_start_gps_params_title"
android:dependency="@string/pref_sirf_gps_key"
- android:shouldDisableView = "true" >
- <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" />
- <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" />
+ android:shouldDisableView = "true" >
+ <PreferenceCategory
+ android:title="Choix des trames NMEA" >
+ <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:title="Fonctionnement du GPS" >
+ <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"