2021-10-01 20:19:42 +00:00
|
|
|
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
|
2022-04-26 16:26:59 +00:00
|
|
|
<!-- Custom repos has been announced, check https://github.com/Fox2Code/FoxMagiskModuleManager/issues/131 -->
|
|
|
|
<PreferenceCategory app:title="@string/pref_category_repos">
|
2022-01-30 15:14:44 +00:00
|
|
|
<Preference
|
|
|
|
app:icon="@drawable/ic_baseline_extension_24"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:key="pref_manage_repos"
|
|
|
|
app:singleLineTitle="false"
|
|
|
|
app:title="@string/manage_repos_pref" />
|
2022-04-26 16:26:59 +00:00
|
|
|
|
|
|
|
<SwitchPreferenceCompat
|
|
|
|
app:defaultValue="false"
|
2022-05-05 19:18:22 +00:00
|
|
|
app:icon="@drawable/ic_baseline_hide_source_24"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:key="pref_show_incompatible"
|
|
|
|
app:singleLineTitle="false"
|
2022-05-05 19:18:22 +00:00
|
|
|
app:summary="@string/show_incompatible_desc"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:title="@string/show_incompatible_pref" />
|
2022-04-26 16:26:59 +00:00
|
|
|
|
2022-04-26 16:34:31 +00:00
|
|
|
<SwitchPreferenceCompat
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:icon="@drawable/ic_baseline_warning_24"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:key="pref_disable_low_quality_module_filter"
|
|
|
|
app:singleLineTitle="false"
|
2022-04-26 16:34:31 +00:00
|
|
|
app:summary="@string/disable_low_quality_module_filter_desc"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:title="@string/disable_low_quality_module_filter_pref" />
|
2022-04-26 16:34:31 +00:00
|
|
|
|
2022-04-26 16:26:59 +00:00
|
|
|
<SwitchPreferenceCompat
|
2022-05-05 19:18:22 +00:00
|
|
|
app:defaultValue="false"
|
|
|
|
app:icon="@drawable/ic_baseline_numbers_24"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:key="pref_use_magisk_install_command"
|
|
|
|
app:singleLineTitle="false"
|
2022-05-05 19:18:22 +00:00
|
|
|
app:summary="@string/use_magisk_install_command_desc"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:title="@string/use_magisk_install_command_pref" />
|
2022-07-20 13:25:58 +00:00
|
|
|
|
|
|
|
<SwitchPreferenceCompat
|
|
|
|
app:defaultValue="true"
|
|
|
|
app:icon="@drawable/ic_baseline_notifications_24"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:key="pref_background_update_check"
|
|
|
|
app:singleLineTitle="false"
|
2022-07-20 13:25:58 +00:00
|
|
|
app:summary="@string/notification_update_desc"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:title="@string/notification_update_pref" />
|
2022-07-20 13:25:58 +00:00
|
|
|
|
|
|
|
<Preference
|
|
|
|
app:key="pref_background_update_check_debug"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:singleLineTitle="false"
|
|
|
|
app:title="@string/notification_update_debug_pref" />
|
2022-04-26 16:26:59 +00:00
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory app:title="@string/pref_category_appearance">
|
2021-10-01 20:19:42 +00:00
|
|
|
<ListPreference
|
|
|
|
app:defaultValue="system"
|
|
|
|
app:entries="@array/theme_values_names"
|
2022-01-23 18:17:08 +00:00
|
|
|
app:entryValues="@array/theme_values"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:icon="@drawable/ic_baseline_palette_24"
|
|
|
|
app:key="pref_theme"
|
|
|
|
app:singleLineTitle="false"
|
|
|
|
app:title="@string/theme_pref" />
|
2021-10-01 20:19:42 +00:00
|
|
|
|
2022-05-16 15:25:59 +00:00
|
|
|
<Preference
|
|
|
|
app:icon="@drawable/ic_baseline_language_24"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:key="pref_language_selector"
|
|
|
|
app:title="@string/language" />
|
2022-05-16 15:25:59 +00:00
|
|
|
|
2022-02-24 19:27:10 +00:00
|
|
|
<SwitchPreferenceCompat
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:icon="@drawable/ic_baseline_blur_on_24"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:key="pref_enable_blur"
|
|
|
|
app:singleLineTitle="false"
|
|
|
|
app:title="@string/enable_blur_pref" />
|
2022-02-24 19:27:10 +00:00
|
|
|
|
2021-10-12 20:06:17 +00:00
|
|
|
<SwitchPreferenceCompat
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:icon="@drawable/ic_baseline_list_24"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:key="pref_force_dark_terminal"
|
|
|
|
app:singleLineTitle="false"
|
|
|
|
app:title="@string/force_dark_terminal_title" />
|
2021-10-12 20:06:17 +00:00
|
|
|
|
2022-05-14 23:10:18 +00:00
|
|
|
<SwitchPreferenceCompat
|
2022-07-11 21:29:18 +00:00
|
|
|
app:defaultValue="@bool/monet_enabled_by_default"
|
2022-05-14 23:10:18 +00:00
|
|
|
app:icon="@drawable/ic_baseline_design_services_24"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:key="pref_enable_monet"
|
|
|
|
app:singleLineTitle="false"
|
|
|
|
app:title="@string/enable_monet" />
|
2022-05-14 23:10:18 +00:00
|
|
|
|
2022-04-26 16:26:59 +00:00
|
|
|
<SwitchPreferenceCompat
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:icon="@drawable/ic_baseline_keyboard_return_24"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:key="pref_wrap_text"
|
|
|
|
app:singleLineTitle="false"
|
2022-04-26 16:26:59 +00:00
|
|
|
app:summary="@string/wrap_text_desc"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:title="@string/wrap_text_pref" />
|
2022-04-26 16:26:59 +00:00
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory app:title="@string/pref_category_security">
|
2022-04-26 16:34:31 +00:00
|
|
|
<SwitchPreferenceCompat
|
2022-05-05 19:18:22 +00:00
|
|
|
app:defaultValue="true"
|
|
|
|
app:icon="@drawable/ic_baseline_security_24"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:key="pref_dns_over_https"
|
|
|
|
app:singleLineTitle="false"
|
2022-05-05 19:18:22 +00:00
|
|
|
app:summary="@string/dns_over_https_desc"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:title="@string/dns_over_https_pref" />
|
2021-11-19 21:42:15 +00:00
|
|
|
<!-- Note: Lockdown mode used to be called showcase mode -->
|
2021-10-01 20:19:42 +00:00
|
|
|
<SwitchPreferenceCompat
|
|
|
|
app:defaultValue="false"
|
2021-11-19 21:42:15 +00:00
|
|
|
app:icon="@drawable/ic_baseline_lock_24"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:key="pref_showcase_mode"
|
|
|
|
app:singleLineTitle="false"
|
2022-01-23 18:17:08 +00:00
|
|
|
app:summary="@string/showcase_mode_desc"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:title="@string/showcase_mode_pref" />
|
2021-10-01 20:19:42 +00:00
|
|
|
|
2022-04-26 16:12:40 +00:00
|
|
|
<SwitchPreferenceCompat
|
2022-06-03 14:33:38 +00:00
|
|
|
app:defaultValue="true"
|
2022-04-26 16:12:40 +00:00
|
|
|
app:icon="@drawable/ic_reboot_24"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:key="pref_prevent_reboot"
|
|
|
|
app:singleLineTitle="false"
|
2022-04-26 16:12:40 +00:00
|
|
|
app:summary="@string/prevent_reboot_desc"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:title="@string/prevent_reboot_pref" />
|
2022-08-24 15:39:00 +00:00
|
|
|
<!-- Crash reporting -->
|
2022-09-14 17:34:01 +00:00
|
|
|
<SwitchPreferenceCompat
|
2022-08-24 15:39:00 +00:00
|
|
|
app:defaultValue="true"
|
|
|
|
app:icon="@drawable/ic_baseline_bug_report_24"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:key="pref_crash_reporting"
|
|
|
|
app:singleLineTitle="false"
|
2022-08-24 15:39:00 +00:00
|
|
|
app:summary="@string/crash_reporting_desc"
|
2022-09-14 17:34:01 +00:00
|
|
|
app:title="@string/crash_reporting" />
|
2022-08-27 15:59:33 +00:00
|
|
|
<!-- Purposely crash the app -->
|
|
|
|
<Preference
|
|
|
|
app:icon="@drawable/ic_baseline_bug_report_24"
|
2022-12-18 16:56:43 +00:00
|
|
|
app:key="pref_test_crash"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:singleLineTitle="false"
|
|
|
|
app:title="@string/crash" />
|
2022-12-18 16:56:43 +00:00
|
|
|
<!-- Pref to clear the app data -->
|
|
|
|
<Preference
|
|
|
|
app:icon="@drawable/ic_baseline_delete_24"
|
|
|
|
app:key="pref_clear_data"
|
|
|
|
app:singleLineTitle="false"
|
|
|
|
app:title="@string/clear_app_data" />
|
2021-10-01 20:19:42 +00:00
|
|
|
</PreferenceCategory>
|
|
|
|
|
2022-08-27 15:59:33 +00:00
|
|
|
<PreferenceCategory app:title="@string/pref_category_info">
|
2022-10-22 12:04:23 +00:00
|
|
|
<com.fox2code.mmm.settings.LongClickablePreference
|
2021-11-25 00:42:01 +00:00
|
|
|
app:icon="@drawable/ic_baseline_system_update_24"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:key="pref_update"
|
|
|
|
app:singleLineTitle="false"
|
|
|
|
app:title="@string/app_update" />
|
2022-10-22 12:04:23 +00:00
|
|
|
<com.fox2code.mmm.settings.LongClickablePreference
|
2022-07-20 13:25:58 +00:00
|
|
|
app:icon="@drawable/ic_baseline_bug_report_24"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:key="pref_report_bug"
|
|
|
|
app:singleLineTitle="false"
|
|
|
|
app:title="@string/report_bugs" />
|
2022-10-22 12:04:23 +00:00
|
|
|
<com.fox2code.mmm.settings.LongClickablePreference
|
2021-10-01 20:19:42 +00:00
|
|
|
app:icon="@drawable/ic_github"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:key="pref_source_code"
|
|
|
|
app:singleLineTitle="false"
|
|
|
|
app:title="@string/source_code" />
|
2022-10-22 12:04:23 +00:00
|
|
|
<com.fox2code.mmm.settings.LongClickablePreference
|
2022-02-02 17:42:12 +00:00
|
|
|
app:icon="@drawable/ic_baseline_telegram_24"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:key="pref_support"
|
|
|
|
app:singleLineTitle="false"
|
|
|
|
app:title="@string/support" />
|
2021-10-01 20:19:42 +00:00
|
|
|
<Preference
|
|
|
|
app:icon="@drawable/ic_baseline_info_24"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:key="pref_show_licenses"
|
|
|
|
app:singleLineTitle="false"
|
|
|
|
app:title="@string/show_licenses" />
|
2022-04-03 16:08:56 +00:00
|
|
|
<Preference
|
|
|
|
app:enabled="false"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:iconSpaceReserved="false"
|
|
|
|
app:key="pref_pkg_info"
|
2022-04-26 16:26:59 +00:00
|
|
|
app:singleLineTitle="false"
|
2022-08-27 15:59:33 +00:00
|
|
|
app:summary="@string/loading" />
|
2021-10-01 20:19:42 +00:00
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|