Witched to supportv7 prefs. Should fix a NPE when opening settings for some devices.
This commit is contained in:
parent
32a9e92699
commit
9873f67139
9 changed files with 78 additions and 72 deletions
|
|
@ -1,15 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<android.support.v7.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<com.kabouzeid.appthemehelper.common.prefs.ATEPreferenceCategory android:title="@string/pref_header_images">
|
||||
<com.kabouzeid.appthemehelper.common.prefs.supportv7.ATEPreferenceCategory android:title="@string/pref_header_images">
|
||||
|
||||
<com.kabouzeid.appthemehelper.common.prefs.ATESwitchPreference
|
||||
<com.kabouzeid.appthemehelper.common.prefs.supportv7.ATESwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="ignore_media_store_artwork"
|
||||
android:summary="@string/pref_summary_ignore_media_store_artwork"
|
||||
android:title="@string/pref_title_ignore_media_store_artwork" />
|
||||
|
||||
<com.kabouzeid.appthemehelper.common.prefs.ATEListPreference
|
||||
<com.kabouzeid.appthemehelper.common.prefs.supportv7.ATEListPreference
|
||||
android:defaultValue="only_wifi"
|
||||
android:entries="@array/pref_auto_download_images_titles"
|
||||
android:entryValues="@array/pref_auto_download_images_values"
|
||||
|
|
@ -18,6 +18,6 @@
|
|||
android:positiveButtonText="@null"
|
||||
android:title="@string/pref_title_auto_download_artist_images" />
|
||||
|
||||
</com.kabouzeid.appthemehelper.common.prefs.ATEPreferenceCategory>
|
||||
</com.kabouzeid.appthemehelper.common.prefs.supportv7.ATEPreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
</android.support.v7.preference.PreferenceScreen>
|
||||
Loading…
Add table
Add a link
Reference in a new issue