2021-10-01 20:19:42 +00:00
|
|
|
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
|
|
|
|
<PreferenceCategory
|
|
|
|
app:title="@string/pref_category_settings">
|
|
|
|
<ListPreference
|
|
|
|
app:key="pref_theme"
|
|
|
|
app:icon="@drawable/ic_baseline_palette_24"
|
|
|
|
app:title="@string/theme_pref"
|
|
|
|
app:defaultValue="system"
|
|
|
|
app:entries="@array/theme_values_names"
|
2022-01-23 18:17:08 +00:00
|
|
|
app:entryValues="@array/theme_values"
|
|
|
|
app:singleLineTitle="false" />
|
2021-10-01 20:19:42 +00:00
|
|
|
|
2021-11-25 00:42:01 +00:00
|
|
|
<SwitchPreferenceCompat
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:key="pref_force_english"
|
|
|
|
app:icon="@drawable/ic_baseline_language_24"
|
2022-01-05 14:03:02 +00:00
|
|
|
app:title="@string/force_english_pref"
|
2022-01-23 18:17:08 +00:00
|
|
|
app:singleLineTitle="false" />
|
2021-11-25 00:42:01 +00:00
|
|
|
|
2021-10-12 20:06:17 +00:00
|
|
|
<SwitchPreferenceCompat
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:key="pref_force_dark_terminal"
|
|
|
|
app:icon="@drawable/ic_baseline_list_24"
|
2022-01-05 14:03:02 +00:00
|
|
|
app:title="@string/force_dark_terminal_title"
|
|
|
|
app:singleLineTitle="false" />
|
2021-10-12 20:06:17 +00:00
|
|
|
|
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"
|
|
|
|
app:key="pref_showcase_mode"
|
2021-11-19 21:42:15 +00:00
|
|
|
app:icon="@drawable/ic_baseline_lock_24"
|
2021-10-01 20:19:42 +00:00
|
|
|
app:title="@string/showcase_mode_pref"
|
2022-01-23 18:17:08 +00:00
|
|
|
app:summary="@string/showcase_mode_desc"
|
|
|
|
app:singleLineTitle="false" />
|
2021-10-01 20:19:42 +00:00
|
|
|
|
2022-01-26 19:34:36 +00:00
|
|
|
<SwitchPreferenceCompat
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:key="pref_wrap_text"
|
|
|
|
app:icon="@drawable/ic_baseline_keyboard_return_24"
|
|
|
|
app:title="@string/wrap_text_pref"
|
|
|
|
app:summary="@string/wrap_text_desc"
|
|
|
|
app:singleLineTitle="false" />
|
|
|
|
|
2021-10-01 20:19:42 +00:00
|
|
|
<SwitchPreferenceCompat
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:key="pref_show_incompatible"
|
|
|
|
app:icon="@drawable/ic_baseline_hide_source_24"
|
|
|
|
app:title="@string/show_incompatible_pref"
|
2022-01-05 14:03:02 +00:00
|
|
|
app:summary="@string/show_incompatible_desc"
|
|
|
|
app:singleLineTitle="false" />
|
2021-10-23 16:14:40 +00:00
|
|
|
|
2021-12-15 21:28:27 +00:00
|
|
|
<SwitchPreferenceCompat
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:key="pref_disable_low_quality_module_filter"
|
|
|
|
app:icon="@drawable/ic_baseline_warning_24"
|
|
|
|
app:title="@string/disable_low_quality_module_filter_pref"
|
2022-01-05 14:03:02 +00:00
|
|
|
app:summary="@string/disable_low_quality_module_filter_desc"
|
|
|
|
app:singleLineTitle="false" />
|
2021-12-15 21:28:27 +00:00
|
|
|
|
2021-10-23 16:14:40 +00:00
|
|
|
<SwitchPreferenceCompat
|
|
|
|
app:defaultValue="false"
|
|
|
|
app:key="pref_use_magisk_install_command"
|
|
|
|
app:icon="@drawable/ic_baseline_numbers_24"
|
|
|
|
app:title="@string/use_magisk_install_command_pref"
|
2022-01-05 14:03:02 +00:00
|
|
|
app:summary="@string/use_magisk_install_command_desc"
|
|
|
|
app:singleLineTitle="false" />
|
2021-10-01 20:19:42 +00:00
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory
|
|
|
|
app:title="@string/pref_category_repos">
|
|
|
|
<Preference
|
|
|
|
app:key="pref_repo_main"
|
|
|
|
app:icon="@drawable/ic_baseline_extension_24"
|
|
|
|
app:summary="@string/repo_main_desc"
|
2022-01-23 18:17:08 +00:00
|
|
|
app:title="@string/loading"
|
|
|
|
app:singleLineTitle="false" />
|
2021-10-01 20:19:42 +00:00
|
|
|
<Preference
|
|
|
|
app:key="pref_repo_alt"
|
|
|
|
app:icon="@drawable/ic_baseline_extension_24"
|
|
|
|
app:summary="@string/repo_main_alt"
|
2022-01-23 18:17:08 +00:00
|
|
|
app:title="@string/loading"
|
|
|
|
app:singleLineTitle="false" />
|
2021-10-01 20:19:42 +00:00
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
|
|
app:title="@string/pref_category_info">
|
2021-11-25 00:42:01 +00:00
|
|
|
<Preference
|
|
|
|
app:key="pref_update"
|
|
|
|
app:icon="@drawable/ic_baseline_system_update_24"
|
2022-01-23 18:17:08 +00:00
|
|
|
app:title="@string/app_update"
|
|
|
|
app:singleLineTitle="false" />
|
2021-10-01 20:19:42 +00:00
|
|
|
<Preference
|
|
|
|
app:key="pref_source_code"
|
|
|
|
app:icon="@drawable/ic_github"
|
2022-01-23 18:17:08 +00:00
|
|
|
app:title="@string/source_code"
|
|
|
|
app:singleLineTitle="false" />
|
2021-10-01 20:19:42 +00:00
|
|
|
<Preference
|
|
|
|
app:key="pref_show_licenses"
|
|
|
|
app:icon="@drawable/ic_baseline_info_24"
|
2022-01-23 18:17:08 +00:00
|
|
|
app:title="@string/show_licenses"
|
|
|
|
app:singleLineTitle="false" />
|
2022-01-28 21:47:41 +00:00
|
|
|
<!-- Only used in debug builds for debugging features -->
|
|
|
|
<Preference
|
|
|
|
app:key="pref_debug_button"
|
|
|
|
app:icon="@drawable/ic_baseline_bug_report_24"
|
|
|
|
app:isPreferenceVisible="false"
|
|
|
|
app:singleLineTitle="false" />
|
2021-10-01 20:19:42 +00:00
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|