2019-08-21 10:21:17 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
|
|
|
|
<Preference
|
2020-01-31 15:09:46 +01:00
|
|
|
app:icon="@drawable/ic_outline_notifications_24dp"
|
2019-08-21 10:21:17 +02:00
|
|
|
app:title="@string/settings_notification_master_title"
|
2019-09-29 15:18:45 +02:00
|
|
|
app:fragment="ml.docilealligator.infinityforreddit.Settings.NotificationPreferenceFragment" />
|
2019-08-21 10:21:17 +02:00
|
|
|
|
|
|
|
<ListPreference
|
2019-08-22 05:52:27 +02:00
|
|
|
app:defaultValue="2"
|
2019-08-21 10:21:17 +02:00
|
|
|
app:entryValues="@array/settings_theme_values"
|
|
|
|
app:key="theme"
|
|
|
|
app:icon="@drawable/ic_outline_color_lens_24px"
|
|
|
|
app:title="@string/settings_theme_title"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
|
2019-10-03 14:31:55 +02:00
|
|
|
<SwitchPreference
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:key="amoled_dark"
|
|
|
|
app:title="@string/settings_amoled_dark_title" />
|
|
|
|
|
2020-01-31 15:09:46 +01:00
|
|
|
<Preference
|
|
|
|
app:icon="@drawable/ic_interface_24dp"
|
|
|
|
app:title="@string/settings_interface_title"
|
|
|
|
app:fragment="ml.docilealligator.infinityforreddit.Settings.InterfacePreferenceFragment" />
|
2019-11-17 16:41:58 +01:00
|
|
|
|
2020-01-31 15:09:46 +01:00
|
|
|
<Preference
|
|
|
|
app:icon="@drawable/ic_gesture_24dp"
|
|
|
|
app:title="@string/settings_gestures_and_buttons_title"
|
|
|
|
app:fragment="ml.docilealligator.infinityforreddit.Settings.GesturesAndButtonsPreferenceFragment" />
|
2019-11-15 17:20:09 +01:00
|
|
|
|
2019-12-07 19:41:28 +01:00
|
|
|
<SwitchPreference
|
|
|
|
app:defaultValue="false"
|
2020-01-31 15:09:46 +01:00
|
|
|
app:icon="@drawable/ic_link"
|
|
|
|
app:key="open_link_in_app"
|
|
|
|
app:title="@string/settings_open_link_in_app_title" />
|
2019-12-07 19:41:28 +01:00
|
|
|
|
2020-01-05 03:57:32 +01:00
|
|
|
<SwitchPreference
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:key="mute_video"
|
2020-02-01 15:36:43 +01:00
|
|
|
app:icon="@drawable/ic_mute_preferences_24dp"
|
2020-01-05 03:57:32 +01:00
|
|
|
app:title="@string/settings_mute_video_title" />
|
|
|
|
|
2020-02-01 15:36:43 +01:00
|
|
|
<SwitchPreference
|
|
|
|
app:defaultValue="false"
|
2020-02-02 03:37:35 +01:00
|
|
|
app:key="confirm_to_exit"
|
|
|
|
app:icon="@drawable/ic_exit_24dp"
|
|
|
|
app:title="@string/settings_confirm_to_exit" />
|
2020-02-01 15:36:43 +01:00
|
|
|
|
2019-08-26 11:50:44 +02:00
|
|
|
<ListPreference
|
|
|
|
app:defaultValue="2.5"
|
|
|
|
android:entries="@array/settings_lazy_mode_interval"
|
|
|
|
app:entryValues="@array/settings_lazy_mode_interval_values"
|
|
|
|
app:key="lazy_mode_interval"
|
|
|
|
app:icon="@drawable/ic_outline_access_time_24px"
|
|
|
|
app:title="@string/settings_lazy_mode_interval_title"
|
|
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
|
2019-08-21 10:21:17 +02:00
|
|
|
<SwitchPreference
|
2019-08-22 03:45:27 +02:00
|
|
|
app:defaultValue="false"
|
2019-08-21 10:21:17 +02:00
|
|
|
app:key="nsfw"
|
2019-09-15 18:03:07 +02:00
|
|
|
app:title="@string/settings_enable_nsfw_title" />
|
2019-08-21 10:21:17 +02:00
|
|
|
|
2019-09-17 09:04:37 +02:00
|
|
|
<SwitchPreference
|
|
|
|
app:defaultValue="true"
|
|
|
|
app:key="blur_nsfw"
|
|
|
|
app:title="@string/settings_blur_nsfw_title"
|
|
|
|
app:isPreferenceVisible="false" />
|
|
|
|
|
2019-09-27 10:58:57 +02:00
|
|
|
<SwitchPreference
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:key="blur_spoiler"
|
|
|
|
app:title="@string/settings_blur_spoiler_title" />
|
|
|
|
|
2019-08-24 10:27:34 +02:00
|
|
|
<Preference
|
2019-08-27 10:46:46 +02:00
|
|
|
app:title="@string/settings_about_master_title"
|
2019-09-29 15:18:45 +02:00
|
|
|
app:fragment="ml.docilealligator.infinityforreddit.Settings.AboutPreferenceFragment" />
|
2019-08-24 10:27:34 +02:00
|
|
|
|
2019-08-21 10:21:17 +02:00
|
|
|
</androidx.preference.PreferenceScreen>
|