LibreTube/app/src/main/res/xml/advanced_settings.xml
2022-06-08 11:07:47 +02:00

63 lines
2.0 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/player">
<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" />
<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" />
<!--
<Preference
app:key="download_directory"
app:title="@string/download_directory"
app:summary="@string/download_directory_summary"
app:icon="@drawable/ic_folder" />
-->
</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"
android:icon="@drawable/ic_trash" />
</PreferenceCategory>
</PreferenceScreen>