diff options
author | Martin Fietz <Martin.Fietz@gmail.com> | 2015-12-28 22:35:40 +0100 |
---|---|---|
committer | Martin Fietz <Martin.Fietz@gmail.com> | 2016-01-07 23:16:01 +0100 |
commit | 52ee1f12584a1dbb44dcd57c00660d0c2b65517e (patch) | |
tree | ad8ab46d393fb2ff7bff55ee8b6783b5d49ca802 | |
parent | 976e54fb8f2e9e8aa9576db611bdee3b19b4d4bf (diff) | |
download | AntennaPod-52ee1f12584a1dbb44dcd57c00660d0c2b65517e.zip |
Fix material preferences appearance
-rw-r--r-- | app/src/main/res/xml/preferences.xml | 27 | ||||
-rw-r--r-- | build.gradle | 2 |
2 files changed, 18 insertions, 11 deletions
diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index b6e628482..cdb582898 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -1,5 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> +<PreferenceScreen + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto"> <PreferenceCategory android:title="@string/user_interface_label"> <com.afollestad.materialdialogs.prefs.MaterialListPreference @@ -8,7 +10,8 @@ android:title="@string/pref_set_theme_title" android:key="prefTheme" android:summary="@string/pref_set_theme_sum" - android:defaultValue="0"/> + android:defaultValue="0" + app:useStockLayout="true"/> <PreferenceScreen android:key="prefDrawerSettings" android:summary="@string/pref_nav_drawer_sum" @@ -23,14 +26,16 @@ android:title="@string/pref_nav_drawer_feed_order_title" android:key="prefDrawerFeedOrder" android:summary="@string/pref_nav_drawer_feed_order_sum" - android:defaultValue="0"/> + android:defaultValue="0" + app:useStockLayout="true"/> <com.afollestad.materialdialogs.prefs.MaterialListPreference android:entryValues="@array/nav_drawer_feed_counter_values" android:entries="@array/nav_drawer_feed_counter_options" android:title="@string/pref_nav_drawer_feed_counter_title" android:key="prefDrawerFeedIndicator" android:summary="@string/pref_nav_drawer_feed_counter_sum" - android:defaultValue="0"/> + android:defaultValue="0" + app:useStockLayout="true"/> </PreferenceScreen> <de.danoeh.antennapod.preferences.SwitchCompatPreference android:defaultValue="false" @@ -119,7 +124,8 @@ android:entryValues="@array/smart_mark_as_played_values" android:key="prefSmartMarkAsPlayedSecs" android:summary="@string/pref_smart_mark_as_played_sum" - android:title="@string/pref_smart_mark_as_played_title"/> + android:title="@string/pref_smart_mark_as_played_title" + app:useStockLayout="true"/> <Preference android:key="prefPlaybackSpeedLauncher" android:summary="@string/pref_playback_speed_sum" @@ -150,26 +156,27 @@ android:key="prefMobileUpdate" android:summary="@string/pref_mobileUpdate_sum" android:title="@string/pref_mobileUpdate_title"/> - <com.afollestad.materialdialogs.prefs.MaterialListPreference android:defaultValue="-1" android:entries="@array/episode_cleanup_entries" android:key="prefEpisodeCleanup" android:title="@string/pref_episode_cleanup_title" android:summary="@string/pref_episode_cleanup_summary" - android:entryValues="@array/episode_cleanup_values"/> - + android:entryValues="@array/episode_cleanup_values" + app:useStockLayout="true"/> <com.afollestad.materialdialogs.prefs.MaterialEditTextPreference android:defaultValue="4" android:inputType="number" android:key="prefParallelDownloads" - android:title="@string/pref_parallel_downloads_title"/> + android:title="@string/pref_parallel_downloads_title" + app:useStockLayout="true"/> <com.afollestad.materialdialogs.prefs.MaterialListPreference android:defaultValue="20" android:entries="@array/episode_cache_size_entries" android:key="prefEpisodeCacheSize" android:title="@string/pref_episode_cache_title" - android:entryValues="@array/episode_cache_size_values"/> + android:entryValues="@array/episode_cache_size_values" + app:useStockLayout="true"/> <PreferenceScreen android:summary="@string/pref_automatic_download_sum" android:key="prefAutoDownloadSettings" diff --git a/build.gradle b/build.gradle index 710f3adde..06f974124 100644 --- a/build.gradle +++ b/build.gradle @@ -49,7 +49,7 @@ project.ext { glideVersion = "3.6.1" jsoupVersion = "1.7.3" iconifyFontawesomeVersion = "2.1.1" - materialDialogsVersion = "0.8.5.1@aar" + materialDialogsVersion = "0.8.5.3@aar" recyclerviewFlexibledividerVersion = "1.2.6" rxAndroidVersion = "1.1.0" rxJavaVersion = "1.1.0" |