2022-08-28 19:10:12 +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-09-11 21:24:04 +05:30
|
|
|
<PreferenceCategory app:title="@string/wifi">
|
2022-08-28 19:10:12 +05:30
|
|
|
|
|
|
|
<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_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-09-11 21:24:04 +05:30
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory app:title="@string/mobile_data">
|
|
|
|
|
|
|
|
<ListPreference
|
|
|
|
android:icon="@drawable/ic_hd"
|
|
|
|
app:defaultValue=""
|
|
|
|
app:entries="@array/defres"
|
|
|
|
app:entryValues="@array/defresValue"
|
|
|
|
app:key="default_res_mobile"
|
|
|
|
app:title="@string/defres"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
|
|
|
|
<ListPreference
|
|
|
|
android:icon="@drawable/ic_headphones"
|
|
|
|
app:defaultValue="best"
|
|
|
|
app:entries="@array/audioQuality"
|
|
|
|
app:entryValues="@array/audioQualityValues"
|
|
|
|
app:key="player_audio_quality_mobile"
|
|
|
|
app:title="@string/playerAudioQuality"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory app:title="@string/quality">
|
|
|
|
|
2022-08-28 19:10:12 +05:30
|
|
|
<ListPreference
|
|
|
|
android:icon="@drawable/ic_videocam"
|
|
|
|
app:defaultValue="webm"
|
|
|
|
app:entries="@array/playerVideoFormat"
|
|
|
|
app:entryValues="@array/playerVideoFormatValues"
|
|
|
|
app:key="player_video_format"
|
|
|
|
app:title="@string/playerVideoFormat"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
|
|
|
|
<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-09-26 22:42:52 +05:30
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:icon="@drawable/ic_play_filled"
|
|
|
|
android:title="@string/limit_hls"
|
|
|
|
app:key="limit_hls" />
|
|
|
|
|
2022-08-28 19:10:12 +05:30
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory app:title="@string/background_mode">
|
|
|
|
|
2022-09-24 16:04:53 +05:30
|
|
|
<com.github.libretube.ui.views.SliderPreference
|
2022-08-28 19:10:12 +05:30
|
|
|
android:icon="@drawable/ic_speed"
|
|
|
|
app:defaultValue="1.0"
|
|
|
|
app:key="background_playback_speed"
|
|
|
|
app:title="@string/playback_speed" />
|
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
</PreferenceScreen>
|