2022-05-16 15:41:22 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-06-07 17:12:07 +05:30
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
2022-05-16 15:41:22 +05:30
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
|
|
|
|
<SwitchPreferenceCompat
|
2022-05-24 01:10:24 +05:30
|
|
|
android:summaryOff="@string/disabled"
|
2022-06-19 13:32:08 +05:30
|
|
|
android:summaryOn="@string/enabled"
|
2022-06-27 22:47:52 +05:30
|
|
|
app:defaultValue="true"
|
|
|
|
app:key="sb_enabled_key"
|
|
|
|
app:title="@string/sponsorblock" />
|
2022-05-16 15:41:22 +05:30
|
|
|
|
2022-06-03 22:19:48 +05:30
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:summaryOff="@string/disabled"
|
2022-06-19 13:32:08 +05:30
|
|
|
android:summaryOn="@string/enabled"
|
2023-04-27 13:09:45 +05:30
|
|
|
android:dependency="sb_enabled_key"
|
2022-06-27 22:47:52 +05:30
|
|
|
app:defaultValue="true"
|
|
|
|
app:key="sb_notifications_key"
|
|
|
|
app:title="@string/sponsorblock_notifications" />
|
2022-05-16 15:41:22 +05:30
|
|
|
|
2022-12-25 21:30:50 +05:30
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:summary="@string/sb_markers_summary"
|
|
|
|
app:defaultValue="true"
|
2023-04-27 13:09:45 +05:30
|
|
|
android:dependency="sb_enabled_key"
|
2022-12-25 21:30:50 +05:30
|
|
|
app:key="sb_show_markers"
|
|
|
|
app:title="@string/sb_markers" />
|
|
|
|
|
2022-09-17 22:17:46 +05:30
|
|
|
|
2022-05-16 15:41:22 +05:30
|
|
|
<PreferenceCategory app:title="@string/category_segments">
|
|
|
|
|
2023-06-19 16:10:47 +05:30
|
|
|
<com.github.libretube.ui.views.SbSpinnerPreference
|
|
|
|
app:key="sponsor_category_key"
|
2022-06-19 13:32:08 +05:30
|
|
|
app:summary="@string/category_sponsor_description"
|
2023-06-19 16:10:47 +05:30
|
|
|
app:title="@string/category_sponsor"
|
|
|
|
app:defaultValue="automatic"/>
|
|
|
|
|
2022-05-16 15:41:22 +05:30
|
|
|
|
2023-06-19 16:10:47 +05:30
|
|
|
<com.github.libretube.ui.views.SbSpinnerPreference
|
2022-06-03 22:19:48 +05:30
|
|
|
app:key="selfpromo_category_key"
|
2022-06-27 22:47:52 +05:30
|
|
|
app:summary="@string/category_selfpromo_description"
|
2023-06-19 16:10:47 +05:30
|
|
|
app:title="@string/category_selfpromo"
|
|
|
|
app:defaultValue="automatic"/>
|
2022-05-16 15:41:22 +05:30
|
|
|
|
2023-06-19 16:10:47 +05:30
|
|
|
<com.github.libretube.ui.views.SbSpinnerPreference
|
2022-06-03 22:19:48 +05:30
|
|
|
app:key="interaction_category_key"
|
2022-06-27 22:47:52 +05:30
|
|
|
app:summary="@string/category_interaction_description"
|
2023-06-19 16:10:47 +05:30
|
|
|
app:title="@string/category_interaction"
|
|
|
|
app:defaultValue="off"/>
|
2022-05-16 15:41:22 +05:30
|
|
|
|
2023-06-19 16:10:47 +05:30
|
|
|
<com.github.libretube.ui.views.SbSpinnerPreference
|
2022-06-03 22:19:48 +05:30
|
|
|
app:key="intro_category_key"
|
2022-06-27 22:47:52 +05:30
|
|
|
app:summary="@string/category_intro_description"
|
2023-06-19 16:10:47 +05:30
|
|
|
app:title="@string/category_intro"
|
|
|
|
app:defaultValue="off"/>
|
2022-05-16 15:41:22 +05:30
|
|
|
|
2023-06-19 16:10:47 +05:30
|
|
|
<com.github.libretube.ui.views.SbSpinnerPreference
|
2022-06-03 22:19:48 +05:30
|
|
|
app:key="outro_category_key"
|
2022-06-27 22:47:52 +05:30
|
|
|
app:summary="@string/category_outro_description"
|
2023-06-19 16:10:47 +05:30
|
|
|
app:title="@string/category_outro"
|
|
|
|
app:defaultValue="off"/>
|
2022-05-16 15:41:22 +05:30
|
|
|
|
2023-06-19 16:10:47 +05:30
|
|
|
<com.github.libretube.ui.views.SbSpinnerPreference
|
2022-06-14 17:20:02 +05:30
|
|
|
app:key="filler_category_key"
|
2022-06-27 22:47:52 +05:30
|
|
|
app:summary="@string/category_filler_description"
|
2023-06-19 16:10:47 +05:30
|
|
|
app:title="@string/category_filler"
|
|
|
|
app:defaultValue="off"/>
|
2022-06-14 17:20:02 +05:30
|
|
|
|
2023-06-19 16:10:47 +05:30
|
|
|
<com.github.libretube.ui.views.SbSpinnerPreference
|
2022-06-14 17:20:02 +05:30
|
|
|
app:key="music_offtopic_category_key"
|
2022-06-27 22:47:52 +05:30
|
|
|
app:summary="@string/category_music_offtopic_description"
|
2023-06-19 16:10:47 +05:30
|
|
|
app:title="@string/category_music_offtopic"
|
|
|
|
app:defaultValue="off"/>
|
2022-06-14 17:20:02 +05:30
|
|
|
|
2023-06-19 16:10:47 +05:30
|
|
|
<com.github.libretube.ui.views.SbSpinnerPreference
|
2022-06-14 17:20:02 +05:30
|
|
|
app:key="preview_category_key"
|
2022-06-27 22:47:52 +05:30
|
|
|
app:summary="@string/category_preview_description"
|
2023-06-19 16:10:47 +05:30
|
|
|
app:title="@string/category_preview"
|
|
|
|
app:defaultValue="off"/>
|
2022-06-14 17:20:02 +05:30
|
|
|
|
2022-05-16 15:41:22 +05:30
|
|
|
</PreferenceCategory>
|
2022-05-23 00:07:09 +05:30
|
|
|
|
2022-06-07 17:12:07 +05:30
|
|
|
</PreferenceScreen>
|