LibreTube/app/src/main/res/xml/sponsorblock_settings.xml

82 lines
3.0 KiB
XML
Raw Normal View History

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"
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
<SwitchPreferenceCompat
android:summary="@string/sb_markers_summary"
app:defaultValue="true"
android:dependency="sb_enabled_key"
app:key="sb_show_markers"
app:title="@string/sb_markers" />
2022-05-16 15:41:22 +05:30
<PreferenceCategory app:title="@string/category_segments">
<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"
app:title="@string/category_sponsor"
app:defaultValue="automatic"/>
2022-05-16 15:41:22 +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"
app:title="@string/category_selfpromo"
app:defaultValue="automatic"/>
2022-05-16 15:41:22 +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"
app:title="@string/category_interaction"
app:defaultValue="off"/>
2022-05-16 15:41:22 +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"
app:title="@string/category_intro"
app:defaultValue="off"/>
2022-05-16 15:41:22 +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"
app:title="@string/category_outro"
app:defaultValue="off"/>
2022-05-16 15:41:22 +05:30
<com.github.libretube.ui.views.SbSpinnerPreference
app:key="filler_category_key"
2022-06-27 22:47:52 +05:30
app:summary="@string/category_filler_description"
app:title="@string/category_filler"
app:defaultValue="off"/>
<com.github.libretube.ui.views.SbSpinnerPreference
app:key="music_offtopic_category_key"
2022-06-27 22:47:52 +05:30
app:summary="@string/category_music_offtopic_description"
app:title="@string/category_music_offtopic"
app:defaultValue="off"/>
<com.github.libretube.ui.views.SbSpinnerPreference
app:key="preview_category_key"
2022-06-27 22:47:52 +05:30
app:summary="@string/category_preview_description"
app:title="@string/category_preview"
app:defaultValue="off"/>
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>