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

63 lines
2.0 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" />
<!--
<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"
2022-06-07 21:13:52 +05:30
android:icon="@drawable/ic_trash" />
2022-06-07 20:22:06 +05:30
</PreferenceCategory>
</PreferenceScreen>