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
|
2022-06-14 00:49:19 +05:30
|
|
|
android:icon="@drawable/ic_hd"
|
|
|
|
app:defaultValue=""
|
2022-06-08 14:37:47 +05:30
|
|
|
app:entries="@array/defres"
|
|
|
|
app:entryValues="@array/defresValue"
|
2022-06-14 00:49:19 +05:30
|
|
|
app:key="default_res"
|
|
|
|
app:title="@string/defres"
|
2022-06-08 14:37:47 +05:30
|
|
|
app:useSimpleSummaryProvider="true" />
|
2022-06-07 20:22:06 +05:30
|
|
|
|
2022-06-16 01:30:36 +05:30
|
|
|
<ListPreference
|
|
|
|
android:icon="@drawable/ic_hd"
|
|
|
|
app:defaultValue="WEBM"
|
|
|
|
app:entries="@array/playerVideoFormats"
|
|
|
|
app:entryValues="@array/playerVideoFormats"
|
|
|
|
app:key="player_video_format"
|
|
|
|
app:title="@string/playerVideoFormat"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
|
2022-06-07 20:22:06 +05:30
|
|
|
<ListPreference
|
2022-06-14 00:49:19 +05:30
|
|
|
android:icon="@drawable/ic_play"
|
|
|
|
app:defaultValue="1F"
|
2022-06-07 20:22:06 +05:30
|
|
|
app:entries="@array/playbackSpeed"
|
|
|
|
app:entryValues="@array/playbackSpeedValues"
|
2022-06-14 00:49:19 +05:30
|
|
|
app:key="playback_speed"
|
|
|
|
app:title="@string/playback_speed"
|
2022-06-07 20:22:06 +05:30
|
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
|
2022-06-14 23:31:27 +05:30
|
|
|
<ListPreference
|
|
|
|
android:icon="@drawable/ic_timelapse"
|
|
|
|
app:defaultValue="50"
|
|
|
|
app:entries="@array/bufferingGoal"
|
|
|
|
app:entryValues="@array/bufferingGoal"
|
|
|
|
app:key="buffering_goal"
|
2022-06-16 01:30:36 +05:30
|
|
|
app:summary="@string/buffering_goal_summary"
|
|
|
|
app:title="@string/buffering_goal" />
|
2022-06-14 23:31:27 +05:30
|
|
|
|
2022-06-07 20:22:06 +05:30
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory app:title="@string/downloads">
|
|
|
|
|
|
|
|
<ListPreference
|
2022-06-14 00:49:19 +05:30
|
|
|
app:defaultValue=".mp4"
|
2022-06-07 20:22:06 +05:30
|
|
|
app:entries="@array/videoFormats"
|
|
|
|
app:entryValues="@array/videoFormatsValues"
|
2022-06-14 00:49:19 +05:30
|
|
|
app:icon="@drawable/ic_videocam"
|
|
|
|
app:key="video_format"
|
2022-06-07 20:22:06 +05:30
|
|
|
app:summary="@string/video_format_summary"
|
2022-06-14 00:49:19 +05:30
|
|
|
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-14 00:49:19 +05:30
|
|
|
app:icon="@drawable/ic_download"
|
|
|
|
app:key="download_location"
|
|
|
|
app:summary="@string/download_directory_summary"
|
|
|
|
app:title="@string/download_directory" />
|
2022-06-09 17:52:07 +05:30
|
|
|
|
|
|
|
<EditTextPreference
|
2022-06-14 00:49:19 +05:30
|
|
|
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"
|
2022-06-14 00:49:19 +05:30
|
|
|
app:title="@string/download_folder" />
|
2022-06-07 20:22:06 +05:30
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory app:title="@string/search_history">
|
|
|
|
|
|
|
|
<SwitchPreference
|
|
|
|
android:defaultValue="true"
|
2022-06-14 00:49:19 +05:30
|
|
|
android:icon="@drawable/ic_history"
|
|
|
|
app:key="search_history_toggle"
|
|
|
|
app:title="@string/search_history" />
|
2022-06-07 20:22:06 +05:30
|
|
|
|
|
|
|
<Preference
|
2022-06-14 00:49:19 +05:30
|
|
|
android:icon="@drawable/ic_trash"
|
2022-06-07 20:22:06 +05:30
|
|
|
app:key="clear_history"
|
2022-06-14 00:49:19 +05:30
|
|
|
app:title="@string/clear_history" />
|
2022-06-12 22:56:38 +05:30
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
2022-06-07 20:22:06 +05:30
|
|
|
</PreferenceScreen>
|