mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 03:55:25 +00:00
117 lines
4.0 KiB
XML
117 lines
4.0 KiB
XML
<PreferenceScreen
|
|
android:layout_marginTop="?attr/actionBarSize"
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<PreferenceCategory
|
|
android:key="general"
|
|
android:title="@string/settings_general_category">
|
|
|
|
<SwitchPreference
|
|
android:key="dark_theme"
|
|
android:title="@string/settings_dark_theme_title"
|
|
android:summary="@string/settings_dark_theme_summary" />
|
|
|
|
<Preference
|
|
android:key="clear"
|
|
android:title="@string/settings_clear_cache_title"
|
|
android:summary="@string/settings_clear_cache_summary" />
|
|
|
|
<Preference
|
|
android:key="hide"
|
|
android:title="@string/settings_hide_manager_title"
|
|
android:summary="@string/settings_hide_manager_summary" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="update"
|
|
android:title="@string/settings_update">
|
|
|
|
<SwitchPreference
|
|
android:key="notification"
|
|
android:title="@string/settings_notification_title"
|
|
android:summary="@string/settings_notification_summary" />
|
|
|
|
<ListPreference
|
|
android:key="update_channel"
|
|
android:title="@string/settings_update_channel_title"
|
|
android:entries="@array/update_channel"
|
|
android:entryValues="@array/value_array" />
|
|
|
|
<ListPreference
|
|
android:key="boot_format"
|
|
android:title="@string/settings_boot_format_title"
|
|
android:entries="@array/boot_formats"
|
|
android:entryValues="@array/boot_formats"
|
|
android:summary="@string/settings_boot_format_summary"/>
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="magisk"
|
|
android:title="@string/magisk">
|
|
|
|
<CheckBoxPreference
|
|
android:key="disable"
|
|
android:title="@string/settings_core_only_title"
|
|
android:summary="@string/settings_core_only_summary" />
|
|
|
|
<SwitchPreference
|
|
android:key="magiskhide"
|
|
android:title="@string/magiskhide"
|
|
android:summary="@string/settings_magiskhide_summary" />
|
|
|
|
<SwitchPreference
|
|
android:key="hosts"
|
|
android:title="@string/settings_hosts_title"
|
|
android:summary="@string/settings_hosts_summary" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="superuser"
|
|
android:title="@string/superuser">
|
|
|
|
<ListPreference
|
|
android:key="su_access"
|
|
android:title="@string/superuser_access"
|
|
android:entries="@array/su_access"
|
|
android:entryValues="@array/value_array" />
|
|
|
|
<ListPreference
|
|
android:key="multiuser_mode"
|
|
android:title="@string/multiuser_mode"
|
|
android:entries="@array/multiuser_mode"
|
|
android:entryValues="@array/value_array" />
|
|
|
|
<ListPreference
|
|
android:key="mnt_ns"
|
|
android:title="@string/mount_namespace_mode"
|
|
android:entries="@array/namespace"
|
|
android:entryValues="@array/value_array" />
|
|
|
|
<ListPreference
|
|
android:key="su_auto_response"
|
|
android:title="@string/auto_response"
|
|
android:entries="@array/auto_response"
|
|
android:entryValues="@array/value_array" />
|
|
|
|
<ListPreference
|
|
android:key="su_request_timeout"
|
|
android:title="@string/request_timeout"
|
|
android:entries="@array/request_timeout"
|
|
android:entryValues="@array/request_timeout_value" />
|
|
|
|
<ListPreference
|
|
android:key="su_notification"
|
|
android:title="@string/superuser_notification"
|
|
android:entries="@array/su_notification"
|
|
android:entryValues="@array/value_array" />
|
|
|
|
<SwitchPreference
|
|
android:key="su_reauth"
|
|
android:title="@string/settings_su_reauth_title"
|
|
android:summary="@string/settings_su_reauth_summary"/>
|
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen> |