add preference for media cache size
This commit is contained in:
parent
2817fcae45
commit
ccce5623b1
4 changed files with 22 additions and 4 deletions
|
|
@ -100,7 +100,7 @@
|
|||
<string name="pref_header_colors">Colors</string>
|
||||
<string name="pref_header_now_playing_screen">Now Playing</string>
|
||||
<string name="pref_header_audio">Audio</string>
|
||||
<string name="pref_header_images">Images</string>
|
||||
<string name="pref_header_cache">Cache</string>
|
||||
<string name="pref_header_library">Library</string>
|
||||
<string name="pref_header_lock_screen">Lock Screen</string>
|
||||
<string name="pref_header_notification">Notification</string>
|
||||
|
|
@ -123,7 +123,8 @@
|
|||
<string name="pref_title_remember_shuffle">Remember Shuffle</string>
|
||||
<string name="pref_title_remember_queue">Remember Queue</string>
|
||||
<string name="pref_title_page_size">Page Size</string>
|
||||
<string name="pref_title_image_cache_size">Cache Size</string>
|
||||
<string name="pref_title_image_cache_size">Images</string>
|
||||
<string name="pref_title_media_cache_size">Media</string>
|
||||
|
||||
<string name="pref_summary_primary_color">The primary theme color for control elements.</string>
|
||||
<string name="pref_summary_accent_color">An alternate color used to accent elements.</string>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<com.kabouzeid.appthemehelper.common.prefs.supportv7.ATEPreferenceCategory android:title="@string/pref_header_images">
|
||||
<com.kabouzeid.appthemehelper.common.prefs.supportv7.ATEPreferenceCategory android:title="@string/pref_header_cache">
|
||||
|
||||
<com.kabouzeid.appthemehelper.common.prefs.supportv7.ATEListPreference
|
||||
app:iconSpaceReserved="false"
|
||||
|
|
@ -14,6 +14,16 @@
|
|||
android:positiveButtonText="@null"
|
||||
android:title="@string/pref_title_image_cache_size" />
|
||||
|
||||
<com.kabouzeid.appthemehelper.common.prefs.supportv7.ATEListPreference
|
||||
app:iconSpaceReserved="false"
|
||||
android:defaultValue="400000000"
|
||||
android:entries="@array/pref_cache_size_titles"
|
||||
android:entryValues="@array/pref_cache_size_values"
|
||||
android:key="media_cache_size"
|
||||
android:negativeButtonText="@null"
|
||||
android:positiveButtonText="@null"
|
||||
android:title="@string/pref_title_media_cache_size" />
|
||||
|
||||
</com.kabouzeid.appthemehelper.common.prefs.supportv7.ATEPreferenceCategory>
|
||||
|
||||
</androidx.preference.PreferenceScreen>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue