diff options
author | Herbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com> | 2011-05-14 14:34:10 +0200 |
---|---|---|
committer | Herbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com> | 2011-05-15 01:31:19 +0200 |
commit | 71fcfd96678b1dcca303ee5d782522e193e50684 (patch) | |
tree | 820c9ce2eb80cc7ae649a15dab2f7706e0f26fcb | |
parent | 32b8a3337978a59b1a4cbc1f70cc294e96dcbe58 (diff) | |
download | BlueGPS-71fcfd96678b1dcca303ee5d782522e193e50684.zip BlueGPS-71fcfd96678b1dcca303ee5d782522e193e50684.tar.gz BlueGPS-71fcfd96678b1dcca303ee5d782522e193e50684.tar.bz2 |
"android:enabled" attribute seems not to work with CheckBoxPreference on Cupcake
"android:enabled" attribute seems not to work with CheckBoxPreference on Cupcake, so I use "android:selectable" instead, as a hack
-rw-r--r-- | res/xml/pref.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/res/xml/pref.xml b/res/xml/pref.xml index 92e2628..8a65c41 100644 --- a/res/xml/pref.xml +++ b/res/xml/pref.xml @@ -88,6 +88,7 @@ <CheckBoxPreference
android:key="@string/pref_sirf_enable_gga_key"
android:enabled="false"
+ android:selectable="false"
android:persistent="true"
android:defaultValue="true"
android:title="@string/pref_enable_gga_title"
@@ -96,6 +97,7 @@ <CheckBoxPreference
android:key="@string/pref_sirf_enable_rmc_key"
android:enabled="false"
+ android:selectable="false"
android:persistent="true"
android:defaultValue="true"
android:title="@string/pref_enable_rmc_title"
@@ -145,6 +147,7 @@ <CheckBoxPreference
android:key="@string/pref_sirf_enable_nmea_key"
android:enabled="false"
+ android:selectable="false"
android:persistent="true"
android:defaultValue="true"
android:title="@string/pref_enable_nmea_title"
|