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

83 lines
2.9 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"
app:defaultValue=""
app:entries="@array/defres"
app:entryValues="@array/defresValue"
app:key="default_res"
app:title="@string/defres"
app:useSimpleSummaryProvider="true" />
<ListPreference
android:icon="@drawable/ic_video"
app:defaultValue="WEBM"
app:entries="@array/playerVideoFormats"
app:entryValues="@array/playerVideoFormats"
app:key="player_video_format"
app:title="@string/playerVideoFormat"
app:useSimpleSummaryProvider="true" />
</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"
app:defaultValue="1F"
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" />
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-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-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-05 00:49:16 +05:30
<ListPreference
android:icon="@drawable/ic_fullscreen"
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>