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

71 lines
2.5 KiB
XML

<?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">
<SwitchPreferenceCompat
android:summaryOff="@string/disabled"
android:summaryOn="@string/enabled"
app:defaultValue="true"
app:key="sb_enabled_key"
app:title="@string/sponsorblock" />
<SwitchPreferenceCompat
android:summaryOff="@string/disabled"
android:summaryOn="@string/enabled"
app:defaultValue="true"
app:key="sb_notifications_key"
app:title="@string/sponsorblock_notifications" />
<SwitchPreferenceCompat
android:summary="@string/sb_skip_manual_summary"
app:defaultValue="false"
app:key="sb_skip_manually_key"
app:title="@string/sb_skip_manual" />
<PreferenceCategory app:title="@string/category_segments">
<SwitchPreferenceCompat
app:defaultValue="true"
app:key="sponsors_category_key"
app:summary="@string/category_sponsor_description"
app:title="@string/category_sponsor" />
<SwitchPreferenceCompat
app:key="selfpromo_category_key"
app:summary="@string/category_selfpromo_description"
app:title="@string/category_selfpromo" />
<SwitchPreferenceCompat
app:key="interaction_category_key"
app:summary="@string/category_interaction_description"
app:title="@string/category_interaction" />
<SwitchPreferenceCompat
app:key="intro_category_key"
app:summary="@string/category_intro_description"
app:title="@string/category_intro" />
<SwitchPreferenceCompat
app:key="outro_category_key"
app:summary="@string/category_outro_description"
app:title="@string/category_outro" />
<SwitchPreferenceCompat
app:key="filler_category_key"
app:summary="@string/category_filler_description"
app:title="@string/category_filler" />
<SwitchPreferenceCompat
app:key="music_offtopic_category_key"
app:summary="@string/category_music_offtopic_description"
app:title="@string/category_music_offtopic" />
<SwitchPreferenceCompat
app:key="preview_category_key"
app:summary="@string/category_preview_description"
app:title="@string/category_preview" />
</PreferenceCategory>
</PreferenceScreen>