diff options
author | Herbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com> | 2010-09-14 01:32:04 +0200 |
---|---|---|
committer | Herbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com> | 2010-09-14 01:32:04 +0200 |
commit | 98d8f112eee35c5982137cfa6f61c9c57490c2b9 (patch) | |
tree | ea15a213f66912b86610f93411195a4e35a74bd3 /res/xml | |
parent | 6123bc1e237936a3ad4c8bcfc48e49e004f09975 (diff) | |
download | BlueGPS-98d8f112eee35c5982137cfa6f61c9c57490c2b9.zip BlueGPS-98d8f112eee35c5982137cfa6f61c9c57490c2b9.tar.gz BlueGPS-98d8f112eee35c5982137cfa6f61c9c57490c2b9.tar.bz2 |
cosmetic changes in preferences
* specify dependency between preferences
* disable view of one preference view whichactualy is not used
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/pref.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/res/xml/pref.xml b/res/xml/pref.xml index 1752453..bb92d12 100644 --- a/res/xml/pref.xml +++ b/res/xml/pref.xml @@ -30,11 +30,13 @@ android:enabled="true"
android:key="@string/pref_start_gps_key"
android:persistent="true"
+ android:disableDependentsState = "false"
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:title="@string/pref_recording_params_title"
- android:enabled="false">
+ android:shouldDisableView = "true"
+ android:enabled="false" >
<EditTextPreference
android:key="@string/pref_mintime_key"
android:title="@string/pref_mintime_title"
@@ -56,7 +58,7 @@ 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">
+ <PreferenceScreen android:title="@string/pref_recording_params_title" >
<EditTextPreference
android:key="@string/pref_trackfile_directory_key"
android:title="@string/pref_trackfile_directory_title"
|