android:visibility attribute in preferences xml not working? (Android 2.3)
问题 Take for example this small preference.xml file: <?xml version="1.0" encoding="utf-8"?> <PreferenceScreen android:title="@string/sig_title" xmlns:android="http://schemas.android.com/apk/res/android"> <ListPreference android:entries="@array/text_display_entries" android:title="@string/sig_style" android:key="text_style" android:entryValues="@array/text_display_values" /> <CheckBoxPreference android:title="@string/custom_font" android:key="tweaks_text" /> <CheckBoxPreference android:title="