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

123 lines
4.4 KiB
XML
Raw Normal View History

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
<ListPreference
android:icon="@drawable/ic_speed"
2022-07-18 17:54:08 +05:30
app:defaultValue="1"
2022-06-18 19:28:41 +05:30
app:entries="@array/playbackSpeed"
app:entryValues="@array/playbackSpeedValues"
app:key="playback_speed"
app:title="@string/playback_speed"
app:useSimpleSummaryProvider="true" />
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" />
<ListPreference
2022-08-02 16:50:59 +05:30
android:defaultValue=""
android:icon="@drawable/ic_caption"
app:key="default_subtitle"
app:title="@string/default_subtitle_language" />
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
<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-20 17:35:17 +05:30
<SwitchPreferenceCompat
android:defaultValue="false"
android:icon="@drawable/ic_visibility"
android:summary="@string/seekbar_preview_summary"
android:title="@string/seekbar_preview"
app:key="seekbar_preview" />
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>
</PreferenceScreen>