jamfish/app/src/main/res/xml/pref_cache.xml
adrian 5ca55a54d2 Add support for downloading to internal storage and fix project build.
- Update outdated library com.github.QuadFlask:colorpicker in build.gradle
- Update SettingsActivity with option to select download directory.
- Add migration in PreferenceUtil to support download location storage.
- Update MusicUtil to look for user-provided location when building locations.
- Update DownloadService to download to specified location.
2026-01-21 16:50:32 -03:00

36 lines
1.5 KiB
XML

<?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.dkanada.gramophone.views.settings.JellyPreferenceCategory android:title="@string/pref_header_cache">
<Preference
app:iconSpaceReserved="false"
android:key="location_download"
android:title="@string/pref_title_download_location" />
<ListPreference
app:iconSpaceReserved="false"
app:useSimpleSummaryProvider="true"
android:defaultValue="400"
android:entries="@array/pref_cache_size_titles"
android:entryValues="@array/pref_cache_size_values"
android:key="image_cache_size"
android:negativeButtonText="@null"
android:positiveButtonText="@null"
android:title="@string/pref_title_image_cache_size" />
<ListPreference
app:iconSpaceReserved="false"
app:useSimpleSummaryProvider="true"
android:defaultValue="400"
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.dkanada.gramophone.views.settings.JellyPreferenceCategory>
</androidx.preference.PreferenceScreen>