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

82 lines
2.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/player">
2022-06-08 14:37:47 +05:30
<ListPreference
app:title="@string/defres"
app:key="default_res"
app:entries="@array/defres"
app:entryValues="@array/defresValue"
app:defaultValue=""
android:icon="@drawable/ic_hd"
app:useSimpleSummaryProvider="true" />
2022-06-07 20:22:06 +05:30
<ListPreference
app:title="@string/playback_speed"
app:key="playback_speed"
app:entries="@array/playbackSpeed"
app:entryValues="@array/playbackSpeedValues"
app:defaultValue="1F"
android:icon="@drawable/ic_play"
app:useSimpleSummaryProvider="true" />
</PreferenceCategory>
<PreferenceCategory app:title="@string/downloads">
<ListPreference
app:key="video_format"
app:title="@string/video_format"
app:entries="@array/videoFormats"
app:entryValues="@array/videoFormatsValues"
app:defaultValue=".mp4"
app:summary="@string/video_format_summary"
app:icon="@drawable/ic_videocam" />
2022-06-09 17:52:07 +05:30
<ListPreference
app:key="download_location"
2022-06-07 20:22:06 +05:30
app:title="@string/download_directory"
app:summary="@string/download_directory_summary"
2022-06-09 17:52:07 +05:30
android:defaultValue="downloads"
android:entries="@array/downloadLocation"
android:entryValues="@array/downloadLocationValues"
app:icon="@drawable/ic_download" />
<EditTextPreference
app:key="download_folder"
app:title="@string/download_folder"
app:summary="@string/download_folder_summary"
app:icon="@drawable/ic_folder"
android:defaultValue="LibreTube" />
2022-06-07 20:22:06 +05:30
</PreferenceCategory>
<PreferenceCategory app:title="@string/search_history">
<SwitchPreference
app:title="@string/search_history"
app:key="search_history_toggle"
android:defaultValue="true"
android:icon="@drawable/ic_history" />
<Preference
app:title="@string/clear_history"
app:key="clear_history"
2022-06-07 21:13:52 +05:30
android:icon="@drawable/ic_trash" />
2022-06-07 20:22:06 +05:30
</PreferenceCategory>
2022-06-12 22:56:38 +05:30
<PreferenceCategory>
<SwitchPreference
app:key="related_streams_toggle"
app:title="@string/related_streams"
app:summary="@string/related_streams_summary"
android:defaultValue="true"
android:icon="@drawable/ic_list"/>
</PreferenceCategory>
2022-06-07 20:22:06 +05:30
</PreferenceScreen>