LibreTube/app/src/main/res/xml/advanced_settings.xml
2022-07-15 22:12:51 +02:00

49 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<PreferenceCategory app:title="@string/downloads">
<ListPreference
app:defaultValue=".mp4"
app:entries="@array/videoFormats"
app:entryValues="@array/videoFormatsValues"
app:icon="@drawable/ic_videocam"
app:key="video_format"
app:summary="@string/video_format_summary"
app:title="@string/video_format" />
<ListPreference
android:defaultValue="downloads"
android:entries="@array/downloadLocation"
android:entryValues="@array/downloadLocationValues"
app:icon="@drawable/ic_download_filled"
app:key="download_location"
app:summary="@string/download_directory_summary"
app:title="@string/download_directory" />
<EditTextPreference
android:defaultValue="LibreTube"
app:icon="@drawable/ic_folder"
app:key="download_folder"
app:summary="@string/download_folder_summary"
app:title="@string/download_folder" />
</PreferenceCategory>
<PreferenceCategory app:title="@string/advanced">
<SwitchPreferenceCompat
android:icon="@drawable/ic_data_saver"
android:summary="@string/data_saver_mode_summary"
app:key="data_saver_mode"
app:title="@string/data_saver_mode" />
<Preference
android:icon="@drawable/ic_reset"
app:key="reset_settings"
app:title="@string/reset" />
</PreferenceCategory>
</PreferenceScreen>