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" />
|
|
|
|
|
2023-06-22 19:01:41 +05:30
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:summary="@string/sb_color_enable"
|
|
|
|
app:defaultValue="false"
|
|
|
|
android:dependency="sb_enabled_key"
|
|
|
|
app:key="sb_enable_custom_colors"
|
|
|
|
app:title="@string/sb_custom_colors" />
|
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
|
2023-06-19 17:49:35 +05:30
|
|
|
app:key="sponsor_category"
|
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"/>
|
|
|
|
|
2023-06-22 19:01:41 +05:30
|
|
|
<com.github.libretube.ui.views.ColorPreference
|
|
|
|
app:key="sponsor_color"
|
|
|
|
app:title="@string/color"
|
|
|
|
app:defaultValue="#00d400" />
|
2022-05-16 15:41:22 +05:30
|
|
|
|
2023-06-19 16:10:47 +05:30
|
|
|
<com.github.libretube.ui.views.SbSpinnerPreference
|
2023-06-19 17:49:35 +05:30
|
|
|
app:key="selfpromo_category"
|
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-22 19:01:41 +05:30
|
|
|
<com.github.libretube.ui.views.ColorPreference
|
|
|
|
app:key="selfpromo_color"
|
|
|
|
app:title="@string/color"
|
|
|
|
app:defaultValue="#ffff00" />
|
|
|
|
|
2023-06-19 16:10:47 +05:30
|
|
|
<com.github.libretube.ui.views.SbSpinnerPreference
|
2023-06-19 17:49:35 +05:30
|
|
|
app:key="interaction_category"
|
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-22 19:01:41 +05:30
|
|
|
<com.github.libretube.ui.views.ColorPreference
|
|
|
|
app:key="interaction_color"
|
|
|
|
app:title="@string/color"
|
|
|
|
app:defaultValue="#cc00ff" />
|
|
|
|
|
2023-06-19 16:10:47 +05:30
|
|
|
<com.github.libretube.ui.views.SbSpinnerPreference
|
2023-06-19 17:49:35 +05:30
|
|
|
app:key="intro_category"
|
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-22 19:01:41 +05:30
|
|
|
<com.github.libretube.ui.views.ColorPreference
|
|
|
|
app:key="intro_color"
|
|
|
|
app:title="@string/color"
|
|
|
|
app:defaultValue="#00ffff" />
|
|
|
|
|
2023-06-19 16:10:47 +05:30
|
|
|
<com.github.libretube.ui.views.SbSpinnerPreference
|
2023-06-19 17:49:35 +05:30
|
|
|
app:key="outro_category"
|
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-22 19:01:41 +05:30
|
|
|
<com.github.libretube.ui.views.ColorPreference
|
|
|
|
app:key="outro_color"
|
|
|
|
app:title="@string/color"
|
|
|
|
app:defaultValue="#0202ED" />
|
|
|
|
|
2023-06-19 16:10:47 +05:30
|
|
|
<com.github.libretube.ui.views.SbSpinnerPreference
|
2023-06-19 17:49:35 +05:30
|
|
|
app:key="filler_category"
|
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-22 19:01:41 +05:30
|
|
|
<com.github.libretube.ui.views.ColorPreference
|
|
|
|
app:key="filler_color"
|
|
|
|
app:title="@string/color"
|
|
|
|
app:defaultValue="#7300ff" />
|
|
|
|
|
2023-06-19 16:10:47 +05:30
|
|
|
<com.github.libretube.ui.views.SbSpinnerPreference
|
2023-06-19 17:49:35 +05:30
|
|
|
app:key="music_offtopic_category"
|
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-22 19:01:41 +05:30
|
|
|
<com.github.libretube.ui.views.ColorPreference
|
|
|
|
app:key="music_offtopic_color"
|
|
|
|
app:title="@string/color"
|
|
|
|
app:defaultValue="#ff9900" />
|
|
|
|
|
2023-06-19 16:10:47 +05:30
|
|
|
<com.github.libretube.ui.views.SbSpinnerPreference
|
2023-06-19 17:49:35 +05:30
|
|
|
app:key="preview_category"
|
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
|
|
|
|
2023-06-22 19:01:41 +05:30
|
|
|
<com.github.libretube.ui.views.ColorPreference
|
|
|
|
app:key="preview_color"
|
|
|
|
app:title="@string/color"
|
|
|
|
app:defaultValue="#008fd6" />
|
|
|
|
|
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>
|