2022-06-18 19:28:41 +05:30
|
|
|
<?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/quality">
|
|
|
|
|
|
|
|
<ListPreference
|
|
|
|
android:icon="@drawable/ic_hd"
|
2022-07-17 02:19:32 +05:30
|
|
|
app:defaultValue=""
|
2022-06-18 19:28:41 +05:30
|
|
|
app:entries="@array/defres"
|
|
|
|
app:entryValues="@array/defresValue"
|
2022-07-17 02:19:32 +05:30
|
|
|
app:key="default_res"
|
2022-06-18 19:28:41 +05:30
|
|
|
app:title="@string/defres"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
|
2022-07-24 16:29:15 +05:30
|
|
|
<ListPreference
|
|
|
|
android:icon="@drawable/ic_headphones"
|
|
|
|
app:defaultValue="best"
|
|
|
|
app:entries="@array/audioQuality"
|
|
|
|
app:entryValues="@array/audioQualityValues"
|
|
|
|
app:key="player_audio_quality"
|
|
|
|
app:title="@string/playerAudioQuality"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
|
2022-06-18 19:28:41 +05:30
|
|
|
<ListPreference
|
2022-07-10 21:56:11 +05:30
|
|
|
android:icon="@drawable/ic_videocam"
|
2022-07-24 16:29:15 +05:30
|
|
|
app:defaultValue="webm"
|
|
|
|
app:entries="@array/playerVideoFormat"
|
|
|
|
app:entryValues="@array/playerVideoFormatValues"
|
2022-06-18 19:28:41 +05:30
|
|
|
app:key="player_video_format"
|
|
|
|
app:title="@string/playerVideoFormat"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
|
2022-07-24 16:29:15 +05:30
|
|
|
<ListPreference
|
|
|
|
android:icon="@drawable/ic_music"
|
|
|
|
app:defaultValue="all"
|
|
|
|
app:entries="@array/playerAudioFormat"
|
|
|
|
app:entryValues="@array/playerAudioFormatValues"
|
|
|
|
app:key="player_audio_format"
|
|
|
|
app:title="@string/playerAudioFormat"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
|
2022-06-18 19:28:41 +05:30
|
|
|
</PreferenceCategory>
|
|
|
|
|
2022-07-05 00:49:16 +05:30
|
|
|
<PreferenceCategory app:title="@string/player">
|
2022-06-18 19:28:41 +05:30
|
|
|
|
2022-08-26 02:35:04 +05:30
|
|
|
<com.github.libretube.extensions.SliderPreference
|
2022-06-18 19:28:41 +05:30
|
|
|
android:icon="@drawable/ic_speed"
|
2022-08-13 22:36:31 +05:30
|
|
|
app:defaultValue="1.0"
|
2022-06-18 19:28:41 +05:30
|
|
|
app:key="playback_speed"
|
2022-08-26 02:35:04 +05:30
|
|
|
app:title="@string/playback_speed" />
|
2022-06-18 19:28:41 +05:30
|
|
|
|
2022-06-18 21:51:30 +05:30
|
|
|
<ListPreference
|
|
|
|
android:icon="@drawable/ic_skip"
|
|
|
|
app:defaultValue="5"
|
|
|
|
app:entries="@array/seekIncrement"
|
|
|
|
app:entryValues="@array/seekIncrementValues"
|
|
|
|
app:key="seek_increment"
|
|
|
|
app:title="@string/seek_increment"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
|
2022-06-18 19:28:41 +05:30
|
|
|
<ListPreference
|
|
|
|
android:icon="@drawable/ic_time"
|
|
|
|
app:defaultValue="50"
|
|
|
|
app:entries="@array/bufferingGoal"
|
2022-06-18 21:51:30 +05:30
|
|
|
app:entryValues="@array/bufferingGoalValues"
|
2022-06-18 19:28:41 +05:30
|
|
|
app:key="buffering_goal"
|
|
|
|
app:summary="@string/buffering_goal_summary"
|
|
|
|
app:title="@string/buffering_goal" />
|
|
|
|
|
2022-07-26 23:24:29 +05:30
|
|
|
<ListPreference
|
2022-08-02 16:50:59 +05:30
|
|
|
android:defaultValue=""
|
2022-07-26 23:24:29 +05:30
|
|
|
android:icon="@drawable/ic_caption"
|
|
|
|
app:key="default_subtitle"
|
|
|
|
app:title="@string/default_subtitle_language" />
|
|
|
|
|
2022-08-14 21:23:51 +05:30
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="fit"
|
|
|
|
android:entries="@array/resizeMode"
|
|
|
|
android:entryValues="@array/resizeModeValues"
|
|
|
|
android:icon="@drawable/ic_zoom"
|
|
|
|
app:key="player_resize_mode"
|
|
|
|
app:title="@string/player_resize_mode"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
|
2022-08-08 20:26:18 +05:30
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:icon="@drawable/ic_next"
|
|
|
|
android:summary="@string/skip_buttons_summary"
|
|
|
|
app:key="skip_buttons"
|
|
|
|
app:title="@string/skip_buttons" />
|
|
|
|
|
2022-07-05 00:49:16 +05:30
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory app:title="@string/behavior">
|
|
|
|
|
2022-06-18 19:28:41 +05:30
|
|
|
<SwitchPreferenceCompat
|
2022-06-19 17:09:41 +05:30
|
|
|
android:icon="@drawable/ic_play_filled"
|
2022-06-27 22:47:52 +05:30
|
|
|
android:summary="@string/autoplay_summary"
|
2022-07-14 19:27:20 +05:30
|
|
|
app:defaultValue="true"
|
2022-06-18 19:28:41 +05:30
|
|
|
app:key="autoplay"
|
2022-06-27 22:47:52 +05:30
|
|
|
app:title="@string/player_autoplay" />
|
2022-06-20 17:52:28 +05:30
|
|
|
|
2022-08-13 22:36:31 +05:30
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:defaultValue="true"
|
|
|
|
android:icon="@drawable/ic_window"
|
|
|
|
app:key="picture_in_picture"
|
|
|
|
app:title="@string/picture_in_picture" />
|
|
|
|
|
2022-06-20 17:52:28 +05:30
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:icon="@drawable/ic_pause_filled"
|
2022-06-27 22:47:52 +05:30
|
|
|
android:summary="@string/pauseOnScreenOff_summary"
|
2022-07-14 19:27:20 +05:30
|
|
|
app:defaultValue="false"
|
2022-06-20 17:52:28 +05:30
|
|
|
app:key="pause_screen_off"
|
2022-06-27 22:47:52 +05:30
|
|
|
app:title="@string/pauseOnScreenOff" />
|
2022-06-18 19:28:41 +05:30
|
|
|
|
2022-07-14 19:27:20 +05:30
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:icon="@drawable/ic_rotating_circle"
|
|
|
|
android:summary="@string/autoRotatePlayer_summary"
|
2022-07-14 19:34:03 +05:30
|
|
|
app:defaultValue="false"
|
2022-07-14 19:27:20 +05:30
|
|
|
app:key="auto_fullscreen"
|
|
|
|
app:title="@string/autoRotatePlayer" />
|
|
|
|
|
2022-07-05 00:49:16 +05:30
|
|
|
<ListPreference
|
2022-07-10 21:56:11 +05:30
|
|
|
android:icon="@drawable/ic_flip"
|
2022-07-05 00:49:16 +05:30
|
|
|
app:defaultValue="ratio"
|
|
|
|
app:entries="@array/fullscreenOrientation"
|
|
|
|
app:entryValues="@array/fullscreenOrientationValues"
|
|
|
|
app:key="fullscreen_orientation"
|
|
|
|
app:title="@string/fullscreen_orientation"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
|
2022-06-18 19:28:41 +05:30
|
|
|
</PreferenceCategory>
|
|
|
|
|
2022-08-09 18:37:12 +05:30
|
|
|
<PreferenceCategory app:title="@string/background_mode">
|
|
|
|
|
2022-08-26 02:35:04 +05:30
|
|
|
<com.github.libretube.extensions.SliderPreference
|
2022-08-09 18:37:12 +05:30
|
|
|
android:icon="@drawable/ic_speed"
|
2022-08-13 22:36:31 +05:30
|
|
|
app:defaultValue="1.0"
|
2022-08-09 18:37:12 +05:30
|
|
|
app:key="background_playback_speed"
|
2022-08-26 02:35:04 +05:30
|
|
|
app:title="@string/playback_speed" />
|
2022-08-09 18:37:12 +05:30
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
2022-06-18 19:28:41 +05:30
|
|
|
</PreferenceScreen>
|