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">
|
|
|
|
|
2022-07-05 00:49:16 +05:30
|
|
|
<PreferenceCategory app:title="@string/player">
|
2022-06-18 19:28:41 +05:30
|
|
|
|
2022-09-24 16:04:53 +05:30
|
|
|
<com.github.libretube.ui.views.SliderPreference
|
2022-06-18 19:28:41 +05:30
|
|
|
android:icon="@drawable/ic_speed"
|
2022-09-29 23:54:39 +05:30
|
|
|
app:defValue="1.0"
|
2022-06-18 19:28:41 +05:30
|
|
|
app:key="playback_speed"
|
2022-10-09 22:53:54 +05:30
|
|
|
app:stepSize="0.1"
|
2022-09-29 23:54:39 +05:30
|
|
|
app:title="@string/playback_speed"
|
2022-10-09 22:53:54 +05:30
|
|
|
app:valueFrom="0.2"
|
2022-09-29 23:54:39 +05:30
|
|
|
app:valueTo="4.0" />
|
2022-06-18 19:28:41 +05:30
|
|
|
|
2022-09-29 23:09:01 +05:30
|
|
|
<com.github.libretube.ui.views.SliderPreference
|
2022-06-18 21:51:30 +05:30
|
|
|
android:icon="@drawable/ic_skip"
|
2022-09-29 23:54:39 +05:30
|
|
|
app:defValue="10.0"
|
2022-06-18 21:51:30 +05:30
|
|
|
app:key="seek_increment"
|
2022-09-29 23:54:39 +05:30
|
|
|
app:stepSize="5.0"
|
|
|
|
app:title="@string/seek_increment"
|
|
|
|
app:valueFrom="5.0"
|
|
|
|
app:valueTo="60.0" />
|
2022-06-18 21:51:30 +05:30
|
|
|
|
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>
|
|
|
|
|
|
|
|
</PreferenceScreen>
|