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
|
2023-06-24 23:27:00 +05:30
|
|
|
android:dependency="sb_enabled_key"
|
2022-06-03 22:19:48 +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_notifications_key"
|
|
|
|
app:title="@string/sponsorblock_notifications" />
|
2022-05-16 15:41:22 +05:30
|
|
|
|
2023-09-09 01:49:20 +05:30
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:dependency="sb_contribute_key"
|
|
|
|
android:summaryOff="@string/disabled"
|
|
|
|
android:summaryOn="@string/enabled"
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:key="sb_contribute_key"
|
|
|
|
app:title="@string/contribute_to_sponsorblock" />
|
|
|
|
|
2023-07-20 18:31:21 +05:30
|
|
|
<SwitchPreferenceCompat
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:key="dearrow"
|
|
|
|
app:summary="@string/dearrow_summary"
|
|
|
|
app:title="@string/dearrow" />
|
|
|
|
|
2023-06-24 23:08:39 +05:30
|
|
|
<SwitchPreferenceCompat
|
2023-06-24 23:27:00 +05:30
|
|
|
app:defaultValue="true"
|
2023-06-24 23:08:39 +05:30
|
|
|
app:key="sb_highlights"
|
|
|
|
app:summary="@string/category_highlight_description"
|
2023-06-24 23:27:00 +05:30
|
|
|
app:title="@string/category_highlight" />
|
2023-06-24 23:08:39 +05:30
|
|
|
|
2023-06-22 19:01:41 +05:30
|
|
|
<SwitchPreferenceCompat
|
2023-06-24 23:27:00 +05:30
|
|
|
android:dependency="sb_enabled_key"
|
2023-06-22 19:01:41 +05:30
|
|
|
android:summary="@string/sb_color_enable"
|
|
|
|
app:defaultValue="false"
|
|
|
|
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-24 23:27:00 +05:30
|
|
|
app:defaultValue="automatic"
|
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-24 23:27:00 +05:30
|
|
|
app:title="@string/category_sponsor" />
|
2023-06-19 16:10:47 +05:30
|
|
|
|
2023-06-22 19:01:41 +05:30
|
|
|
<com.github.libretube.ui.views.ColorPreference
|
2023-07-31 18:55:22 +05:30
|
|
|
android:dependency="sb_enable_custom_colors"
|
2023-06-24 23:27:00 +05:30
|
|
|
app:defaultValue="#00d400"
|
2023-06-22 19:01:41 +05:30
|
|
|
app:key="sponsor_color"
|
2023-06-24 23:27:00 +05:30
|
|
|
app:title="@string/color" />
|
2022-05-16 15:41:22 +05:30
|
|
|
|
2023-06-19 16:10:47 +05:30
|
|
|
<com.github.libretube.ui.views.SbSpinnerPreference
|
2023-06-24 23:27:00 +05:30
|
|
|
app:defaultValue="automatic"
|
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-24 23:27:00 +05:30
|
|
|
app:title="@string/category_selfpromo" />
|
2022-05-16 15:41:22 +05:30
|
|
|
|
2023-06-22 19:01:41 +05:30
|
|
|
<com.github.libretube.ui.views.ColorPreference
|
2023-07-31 18:55:22 +05:30
|
|
|
android:dependency="sb_enable_custom_colors"
|
2023-06-24 23:27:00 +05:30
|
|
|
app:defaultValue="#ffff00"
|
2023-06-22 19:01:41 +05:30
|
|
|
app:key="selfpromo_color"
|
2023-06-24 23:27:00 +05:30
|
|
|
app:title="@string/color" />
|
2023-06-22 19:01:41 +05:30
|
|
|
|
2023-06-19 16:10:47 +05:30
|
|
|
<com.github.libretube.ui.views.SbSpinnerPreference
|
2023-06-24 23:27:00 +05:30
|
|
|
app:defaultValue="off"
|
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-24 23:27:00 +05:30
|
|
|
app:title="@string/category_interaction" />
|
2022-05-16 15:41:22 +05:30
|
|
|
|
2023-06-22 19:01:41 +05:30
|
|
|
<com.github.libretube.ui.views.ColorPreference
|
2023-07-31 18:55:22 +05:30
|
|
|
android:dependency="sb_enable_custom_colors"
|
2023-06-24 23:27:00 +05:30
|
|
|
app:defaultValue="#cc00ff"
|
2023-06-22 19:01:41 +05:30
|
|
|
app:key="interaction_color"
|
2023-06-24 23:27:00 +05:30
|
|
|
app:title="@string/color" />
|
2023-06-22 19:01:41 +05:30
|
|
|
|
2023-06-19 16:10:47 +05:30
|
|
|
<com.github.libretube.ui.views.SbSpinnerPreference
|
2023-06-24 23:27:00 +05:30
|
|
|
app:defaultValue="off"
|
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-24 23:27:00 +05:30
|
|
|
app:title="@string/category_intro" />
|
2022-05-16 15:41:22 +05:30
|
|
|
|
2023-06-22 19:01:41 +05:30
|
|
|
<com.github.libretube.ui.views.ColorPreference
|
2023-07-31 18:55:22 +05:30
|
|
|
android:dependency="sb_enable_custom_colors"
|
2023-06-24 23:27:00 +05:30
|
|
|
app:defaultValue="#00ffff"
|
2023-06-22 19:01:41 +05:30
|
|
|
app:key="intro_color"
|
2023-06-24 23:27:00 +05:30
|
|
|
app:title="@string/color" />
|
2023-06-22 19:01:41 +05:30
|
|
|
|
2023-06-19 16:10:47 +05:30
|
|
|
<com.github.libretube.ui.views.SbSpinnerPreference
|
2023-06-24 23:27:00 +05:30
|
|
|
app:defaultValue="off"
|
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-24 23:27:00 +05:30
|
|
|
app:title="@string/category_outro" />
|
2022-05-16 15:41:22 +05:30
|
|
|
|
2023-06-22 19:01:41 +05:30
|
|
|
<com.github.libretube.ui.views.ColorPreference
|
2023-07-31 18:55:22 +05:30
|
|
|
android:dependency="sb_enable_custom_colors"
|
2023-06-24 23:27:00 +05:30
|
|
|
app:defaultValue="#0202ED"
|
2023-06-22 19:01:41 +05:30
|
|
|
app:key="outro_color"
|
2023-06-24 23:27:00 +05:30
|
|
|
app:title="@string/color" />
|
2023-06-22 19:01:41 +05:30
|
|
|
|
2023-06-19 16:10:47 +05:30
|
|
|
<com.github.libretube.ui.views.SbSpinnerPreference
|
2023-06-24 23:27:00 +05:30
|
|
|
app:defaultValue="off"
|
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-24 23:27:00 +05:30
|
|
|
app:title="@string/category_filler" />
|
2022-06-14 17:20:02 +05:30
|
|
|
|
2023-06-22 19:01:41 +05:30
|
|
|
<com.github.libretube.ui.views.ColorPreference
|
2023-07-31 18:55:22 +05:30
|
|
|
android:dependency="sb_enable_custom_colors"
|
2023-06-24 23:27:00 +05:30
|
|
|
app:defaultValue="#7300ff"
|
2023-06-22 19:01:41 +05:30
|
|
|
app:key="filler_color"
|
2023-06-24 23:27:00 +05:30
|
|
|
app:title="@string/color" />
|
2023-06-22 19:01:41 +05:30
|
|
|
|
2023-06-19 16:10:47 +05:30
|
|
|
<com.github.libretube.ui.views.SbSpinnerPreference
|
2023-06-24 23:27:00 +05:30
|
|
|
app:defaultValue="off"
|
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-24 23:27:00 +05:30
|
|
|
app:title="@string/category_music_offtopic" />
|
2022-06-14 17:20:02 +05:30
|
|
|
|
2023-06-22 19:01:41 +05:30
|
|
|
<com.github.libretube.ui.views.ColorPreference
|
2023-07-31 18:55:22 +05:30
|
|
|
android:dependency="sb_enable_custom_colors"
|
2023-06-24 23:27:00 +05:30
|
|
|
app:defaultValue="#ff9900"
|
2023-06-22 19:01:41 +05:30
|
|
|
app:key="music_offtopic_color"
|
2023-06-24 23:27:00 +05:30
|
|
|
app:title="@string/color" />
|
2023-06-22 19:01:41 +05:30
|
|
|
|
2023-06-19 16:10:47 +05:30
|
|
|
<com.github.libretube.ui.views.SbSpinnerPreference
|
2023-06-24 23:27:00 +05:30
|
|
|
app:defaultValue="off"
|
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-24 23:27:00 +05:30
|
|
|
app:title="@string/category_preview" />
|
2022-06-14 17:20:02 +05:30
|
|
|
|
2023-06-22 19:01:41 +05:30
|
|
|
<com.github.libretube.ui.views.ColorPreference
|
2023-07-31 18:55:22 +05:30
|
|
|
android:dependency="sb_enable_custom_colors"
|
2023-06-24 23:27:00 +05:30
|
|
|
app:defaultValue="#008fd6"
|
2023-06-22 19:01:41 +05:30
|
|
|
app:key="preview_color"
|
2023-06-24 23:27:00 +05:30
|
|
|
app:title="@string/color" />
|
2023-06-22 19:01:41 +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>
|