Move 'counter' setting from 'adjust menu' to UI settings

This commit is contained in:
ByteHamster 2018-04-10 22:09:54 +02:00
parent 12ac9c9fc2
commit cf3def7cd5
1 changed files with 20 additions and 26 deletions

View File

@ -2,7 +2,6 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:app="http://schemas.android.com/apk/res-auto">
<com.afollestad.materialdialogs.prefs.MaterialListPreference <com.afollestad.materialdialogs.prefs.MaterialListPreference
android:entryValues="@array/theme_values" android:entryValues="@array/theme_values"
android:entries="@array/theme_options" android:entries="@array/theme_options"
@ -11,31 +10,26 @@
android:summary="@string/pref_set_theme_sum" android:summary="@string/pref_set_theme_sum"
android:defaultValue="0" android:defaultValue="0"
app:useStockLayout="true"/> app:useStockLayout="true"/>
<PreferenceScreen <Preference
android:key="prefDrawerSettings" android:key="prefHiddenDrawerItems"
android:summary="@string/pref_nav_drawer_sum" android:summary="@string/pref_nav_drawer_items_sum"
android:title="@string/pref_nav_drawer_title"> android:title="@string/pref_nav_drawer_items_title" />
<Preference <com.afollestad.materialdialogs.prefs.MaterialListPreference
android:key="prefHiddenDrawerItems" android:entryValues="@array/nav_drawer_feed_order_values"
android:summary="@string/pref_nav_drawer_items_sum" android:entries="@array/nav_drawer_feed_order_options"
android:title="@string/pref_nav_drawer_items_title" /> android:title="@string/pref_nav_drawer_feed_order_title"
<com.afollestad.materialdialogs.prefs.MaterialListPreference android:key="prefDrawerFeedOrder"
android:entryValues="@array/nav_drawer_feed_order_values" android:summary="@string/pref_nav_drawer_feed_order_sum"
android:entries="@array/nav_drawer_feed_order_options" android:defaultValue="0"
android:title="@string/pref_nav_drawer_feed_order_title" app:useStockLayout="true"/>
android:key="prefDrawerFeedOrder" <com.afollestad.materialdialogs.prefs.MaterialListPreference
android:summary="@string/pref_nav_drawer_feed_order_sum" android:entryValues="@array/nav_drawer_feed_counter_values"
android:defaultValue="0" android:entries="@array/nav_drawer_feed_counter_options"
app:useStockLayout="true"/> android:title="@string/pref_nav_drawer_feed_counter_title"
<com.afollestad.materialdialogs.prefs.MaterialListPreference android:key="prefDrawerFeedIndicator"
android:entryValues="@array/nav_drawer_feed_counter_values" android:summary="@string/pref_nav_drawer_feed_counter_sum"
android:entries="@array/nav_drawer_feed_counter_options" android:defaultValue="0"
android:title="@string/pref_nav_drawer_feed_counter_title" app:useStockLayout="true"/>
android:key="prefDrawerFeedIndicator"
android:summary="@string/pref_nav_drawer_feed_counter_sum"
android:defaultValue="0"
app:useStockLayout="true"/>
</PreferenceScreen>
<de.danoeh.antennapod.preferences.SwitchCompatPreference <de.danoeh.antennapod.preferences.SwitchCompatPreference
android:defaultValue="false" android:defaultValue="false"
android:enabled="true" android:enabled="true"