add two settings to configure image caching
This commit is contained in:
parent
14e1d9bb80
commit
ee6fd61d43
7 changed files with 93 additions and 0 deletions
26
app/src/main/res/xml/pref_images.xml
Normal file
26
app/src/main/res/xml/pref_images.xml
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<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.ATEListPreference
|
||||
app:iconSpaceReserved="false"
|
||||
android:defaultValue="400000000"
|
||||
android:entries="@array/pref_images_cache_size_titles"
|
||||
android:entryValues="@array/pref_images_cache_size_values"
|
||||
android:key="images_cache_size"
|
||||
android:negativeButtonText="@null"
|
||||
android:positiveButtonText="@null"
|
||||
android:title="@string/pref_title_images_cache_size" />
|
||||
|
||||
<com.kabouzeid.appthemehelper.common.prefs.supportv7.ATESwitchPreference
|
||||
app:iconSpaceReserved="false"
|
||||
android:defaultValue="false"
|
||||
android:key="images_external_directory"
|
||||
android:summary="@string/pref_summary_images_external_directory"
|
||||
android:title="@string/pref_title_images_external_directory" />
|
||||
|
||||
</com.kabouzeid.appthemehelper.common.prefs.supportv7.ATEPreferenceCategory>
|
||||
|
||||
</androidx.preference.PreferenceScreen>
|
||||
Loading…
Add table
Add a link
Reference in a new issue