You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
234 lines
9.8 KiB
XML
234 lines
9.8 KiB
XML
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<!-- Custom repos has been announced, check https://github.com/Fox2Code/FoxMagiskModuleManager/issues/131 -->
|
|
<PreferenceCategory app:title="@string/pref_category_repos">
|
|
<Preference
|
|
app:icon="@drawable/ic_baseline_extension_24"
|
|
app:key="pref_manage_repos"
|
|
app:singleLineTitle="false"
|
|
app:title="@string/manage_repos_pref" />
|
|
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="false"
|
|
app:icon="@drawable/ic_baseline_hide_source_24"
|
|
app:key="pref_show_incompatible"
|
|
app:singleLineTitle="false"
|
|
app:summary="@string/show_incompatible_desc"
|
|
app:title="@string/show_incompatible_pref" />
|
|
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="false"
|
|
app:icon="@drawable/ic_baseline_warning_24"
|
|
app:key="pref_disable_low_quality_module_filter"
|
|
app:singleLineTitle="false"
|
|
app:summary="@string/disable_low_quality_module_filter_desc"
|
|
app:title="@string/disable_low_quality_module_filter_pref" />
|
|
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="false"
|
|
app:icon="@drawable/ic_baseline_numbers_24"
|
|
app:key="pref_use_magisk_install_command"
|
|
app:singleLineTitle="false"
|
|
app:summary="@string/use_magisk_install_command_desc"
|
|
app:title="@string/use_magisk_install_command_pref" />
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory app:title="@string/pref_category_updates">
|
|
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="true"
|
|
app:icon="@drawable/ic_baseline_notifications_24"
|
|
app:key="pref_background_update_check"
|
|
app:singleLineTitle="false"
|
|
app:summary="@string/notification_update_desc"
|
|
app:title="@string/notification_update_pref" />
|
|
|
|
<!-- Ignore updates for preference. Used to ignore updates for specific modules -->
|
|
<Preference
|
|
app:icon="@drawable/baseline_block_24"
|
|
app:key="pref_background_update_check_excludes"
|
|
app:singleLineTitle="false"
|
|
app:summary="@string/notification_update_ignore_desc"
|
|
app:title="@string/notification_update_ignore_pref" />
|
|
|
|
<Preference
|
|
app:key="pref_background_update_check_debug"
|
|
app:singleLineTitle="false"
|
|
app:icon="@drawable/baseline_notification_important_24"
|
|
app:title="@string/notification_update_debug_pref" />
|
|
|
|
<!-- For debugging: launch update activity with download action -->
|
|
<Preference
|
|
app:icon="@drawable/ic_baseline_download_24"
|
|
app:key="pref_background_update_check_debug_download"
|
|
app:singleLineTitle="false"
|
|
app:title="@string/update_debug_download_pref" />
|
|
|
|
<com.fox2code.mmm.settings.LongClickablePreference
|
|
app:icon="@drawable/ic_baseline_system_update_24"
|
|
app:key="pref_update"
|
|
app:singleLineTitle="false"
|
|
app:title="@string/check_for_updates" />
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory app:title="@string/pref_category_appearance">
|
|
<ListPreference
|
|
app:defaultValue="system"
|
|
app:entries="@array/theme_values_names"
|
|
app:entryValues="@array/theme_values"
|
|
app:icon="@drawable/ic_baseline_palette_24"
|
|
app:key="pref_theme"
|
|
app:singleLineTitle="false"
|
|
app:title="@string/theme_pref" />
|
|
|
|
<Preference
|
|
app:icon="@drawable/ic_baseline_language_24"
|
|
app:key="pref_language_selector"
|
|
app:title="@string/language" />
|
|
|
|
<!-- Call to action for translators -->
|
|
<com.fox2code.mmm.settings.LongClickablePreference
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="8sp"
|
|
app:icon="@drawable/ic_baseline_info_24"
|
|
app:key="pref_language_selector_cta"
|
|
app:singleLineTitle="false"
|
|
app:summary="@string/language_cta_desc"
|
|
app:title="@string/language_cta" />
|
|
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="false"
|
|
app:icon="@drawable/ic_baseline_blur_on_24"
|
|
app:key="pref_enable_blur"
|
|
app:singleLineTitle="false"
|
|
app:title="@string/enable_blur_pref" />
|
|
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="false"
|
|
app:icon="@drawable/ic_baseline_list_24"
|
|
app:key="pref_force_dark_terminal"
|
|
app:singleLineTitle="false"
|
|
app:title="@string/force_dark_terminal_title" />
|
|
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="@bool/monet_enabled_by_default"
|
|
app:icon="@drawable/ic_baseline_design_services_24"
|
|
app:key="pref_enable_monet"
|
|
app:singleLineTitle="false"
|
|
app:title="@string/enable_monet" />
|
|
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="false"
|
|
app:icon="@drawable/ic_baseline_keyboard_return_24"
|
|
app:key="pref_wrap_text"
|
|
app:singleLineTitle="false"
|
|
app:summary="@string/wrap_text_desc"
|
|
app:title="@string/wrap_text_pref" />
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory app:title="@string/pref_category_security">
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="true"
|
|
app:icon="@drawable/ic_baseline_security_24"
|
|
app:key="pref_dns_over_https"
|
|
app:singleLineTitle="false"
|
|
app:summary="@string/dns_over_https_desc"
|
|
app:title="@string/dns_over_https_pref" />
|
|
<!-- Note: Lockdown mode used to be called showcase mode -->
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="false"
|
|
app:icon="@drawable/ic_baseline_lock_24"
|
|
app:key="pref_showcase_mode"
|
|
app:singleLineTitle="false"
|
|
app:summary="@string/showcase_mode_desc"
|
|
app:title="@string/showcase_mode_pref" />
|
|
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="true"
|
|
app:icon="@drawable/ic_reboot_24"
|
|
app:key="pref_prevent_reboot"
|
|
app:singleLineTitle="false"
|
|
app:summary="@string/prevent_reboot_desc"
|
|
app:title="@string/prevent_reboot_pref" />
|
|
<!-- Crash reporting -->
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="true"
|
|
app:icon="@drawable/ic_baseline_bug_report_24"
|
|
app:key="pref_crash_reporting"
|
|
app:singleLineTitle="false"
|
|
app:summary="@string/crash_reporting_desc"
|
|
app:title="@string/crash_reporting" />
|
|
<!-- Purposely crash the app -->
|
|
<Preference
|
|
app:icon="@drawable/ic_baseline_bug_report_24"
|
|
app:key="pref_test_crash"
|
|
app:singleLineTitle="false"
|
|
app:title="@string/crash" />
|
|
<!-- 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" />
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory app:title="@string/pref_category_info">
|
|
<!-- Save logs -->
|
|
<Preference
|
|
app:icon="@drawable/baseline_save_24"
|
|
app:key="pref_save_logs"
|
|
app:singleLineTitle="false"
|
|
app:title="@string/save_logs" />
|
|
<com.fox2code.mmm.settings.LongClickablePreference
|
|
app:icon="@drawable/ic_baseline_bug_report_24"
|
|
app:key="pref_report_bug"
|
|
app:singleLineTitle="false"
|
|
app:title="@string/report_bugs" />
|
|
<com.fox2code.mmm.settings.LongClickablePreference
|
|
app:icon="@drawable/ic_github"
|
|
app:key="pref_source_code"
|
|
app:singleLineTitle="false"
|
|
app:title="@string/source_code" />
|
|
<com.fox2code.mmm.settings.LongClickablePreference
|
|
app:icon="@drawable/ic_baseline_telegram_24"
|
|
app:key="pref_support"
|
|
app:singleLineTitle="false"
|
|
app:title="@string/support" />
|
|
<Preference
|
|
app:icon="@drawable/ic_baseline_info_24"
|
|
app:key="pref_show_licenses"
|
|
app:singleLineTitle="false"
|
|
app:title="@string/show_licenses" />
|
|
</PreferenceCategory>
|
|
<PreferenceCategory app:title="@string/pref_category_contributors">
|
|
<!-- Small lil thanks to Androidacy -->
|
|
<com.fox2code.mmm.settings.LongClickablePreference
|
|
app:icon="@drawable/baseline_favorite_24"
|
|
app:key="pref_androidacy_thanks"
|
|
app:singleLineTitle="false"
|
|
app:summary="@string/androidacy_thanks_desc"
|
|
app:title="@string/androidacy_thanks" />
|
|
<!-- Small lil thanks to Fox2Code -->
|
|
<com.fox2code.mmm.settings.LongClickablePreference
|
|
app:icon="@drawable/baseline_favorite_24"
|
|
app:key="pref_fox2code_thanks"
|
|
app:singleLineTitle="false"
|
|
app:summary="@string/fox2code_thanks_desc"
|
|
app:title="@string/fox2code_thanks" />
|
|
<!-- OKay, so we'll thank all the other contributors too -->
|
|
<com.fox2code.mmm.settings.LongClickablePreference
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
app:iconSpaceReserved="false"
|
|
app:key="pref_contributors"
|
|
app:singleLineTitle="false"
|
|
app:title="@string/contributors" />
|
|
<!-- And the translators -->
|
|
<Preference
|
|
app:enabled="false"
|
|
app:iconSpaceReserved="false"
|
|
app:key="pref_pkg_info"
|
|
app:singleLineTitle="false"
|
|
app:summary="@string/loading" />
|
|
</PreferenceCategory>
|
|
</PreferenceScreen> |