LibreTube/app/src/main/res/xml/advanced_settings.xml

49 lines
1.7 KiB
XML
Raw Normal View History

2022-06-07 20:22:06 +05:30
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
2022-06-08 14:37:47 +05:30
xmlns:app="http://schemas.android.com/apk/res-auto">
2022-06-07 20:22:06 +05:30
<PreferenceCategory app:title="@string/downloads">
<ListPreference
app:defaultValue=".mp4"
2022-06-07 20:22:06 +05:30
app:entries="@array/videoFormats"
app:entryValues="@array/videoFormatsValues"
app:icon="@drawable/ic_videocam"
app:key="video_format"
2022-06-07 20:22:06 +05:30
app:summary="@string/video_format_summary"
app:title="@string/video_format" />
2022-06-07 20:22:06 +05:30
2022-06-09 17:52:07 +05:30
<ListPreference
android:defaultValue="downloads"
android:entries="@array/downloadLocation"
android:entryValues="@array/downloadLocationValues"
2022-06-18 14:00:24 +05:30
app:icon="@drawable/ic_download_filled"
app:key="download_location"
app:summary="@string/download_directory_summary"
app:title="@string/download_directory" />
2022-06-09 17:52:07 +05:30
<EditTextPreference
android:defaultValue="LibreTube"
app:icon="@drawable/ic_folder"
2022-06-09 17:52:07 +05:30
app:key="download_folder"
app:summary="@string/download_folder_summary"
app:title="@string/download_folder" />
2022-06-07 20:22:06 +05:30
</PreferenceCategory>
<PreferenceCategory app:title="@string/search_history">
<SwitchPreference
android:defaultValue="true"
android:icon="@drawable/ic_history"
app:key="search_history_toggle"
app:title="@string/search_history" />
2022-06-07 20:22:06 +05:30
<Preference
android:icon="@drawable/ic_trash"
2022-06-07 20:22:06 +05:30
app:key="clear_history"
app:title="@string/clear_history" />
2022-06-12 22:56:38 +05:30
</PreferenceCategory>
2022-06-07 20:22:06 +05:30
</PreferenceScreen>