Magisk/app/src/main/res/xml/app_settings.xml

91 lines
3.1 KiB
XML
Raw Normal View History

2016-09-21 16:55:20 -05:00
<PreferenceScreen
android:layout_marginTop="?attr/actionBarSize"
xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory
2016-09-29 23:24:31 +08:00
android:title="@string/settings_general_category">
2016-09-21 16:55:20 -05:00
2017-01-26 04:17:51 +08:00
<SwitchPreference
android:defaultValue="false"
android:title="@string/settings_dark_theme_title"
android:summary="@string/settings_dark_theme_summary"
android:key="dark_theme" />
2016-09-29 23:24:31 +08:00
2017-01-11 19:10:30 +08:00
<Preference
android:key="clear"
android:title="@string/settings_clear_cache_title"
android:summary="@string/settings_clear_cache_summary" />
2016-10-17 10:11:26 +08:00
</PreferenceCategory>
<PreferenceCategory
2017-01-28 22:02:33 +08:00
android:key="magisk"
2017-01-28 06:13:07 +08:00
android:title="@string/magisk">
2016-10-17 10:11:26 +08:00
<CheckBoxPreference
android:key="magiskhide"
android:defaultValue="false"
android:title="@string/settings_magiskhide_title"
android:summary="@string/settings_magiskhide_summary" />
2016-09-29 23:24:31 +08:00
<CheckBoxPreference
android:key="busybox"
android:defaultValue="false"
android:title="@string/settings_busybox_title"
android:summary="@string/settings_busybox_summary" />
2017-01-26 04:17:51 +08:00
<SwitchPreference
2016-11-09 05:17:50 +08:00
android:key="hosts"
android:defaultValue="false"
android:title="@string/settings_hosts_title"
android:summary="@string/settings_hosts_summary" />
</PreferenceCategory>
2016-09-29 23:24:31 +08:00
2017-01-28 06:13:07 +08:00
<PreferenceCategory
2017-01-28 22:02:33 +08:00
android:key="superuser"
2017-01-28 06:13:07 +08:00
android:title="@string/superuser">
<ListPreference
android:key="su_access"
2017-01-28 22:02:33 +08:00
android:title="@string/superuser_access"
2017-01-28 06:13:07 +08:00
android:entries="@array/su_access"
android:entryValues="@array/value_array" />
<ListPreference
android:key="su_auto_response"
2017-01-28 22:02:33 +08:00
android:title="@string/auto_response"
2017-01-28 06:13:07 +08:00
android:entries="@array/auto_response"
android:entryValues="@array/value_array" />
<ListPreference
android:key="su_request_timeout"
2017-01-28 22:02:33 +08:00
android:title="@string/request_timeout"
2017-01-28 06:13:07 +08:00
android:entries="@array/request_timeout"
android:entryValues="@array/request_timeout_value" />
<ListPreference
android:key="su_notification"
2017-01-28 22:02:33 +08:00
android:title="@string/superuser_notification"
2017-01-28 06:13:07 +08:00
android:entries="@array/su_notification"
android:entryValues="@array/value_array" />
</PreferenceCategory>
2016-09-21 16:55:20 -05:00
<PreferenceCategory
android:title="@string/settings_development_category">
2017-01-28 06:13:07 +08:00
<SwitchPreference
2016-09-21 16:55:20 -05:00
android:key="developer_logging"
2016-09-26 13:16:11 -05:00
android:defaultValue="false"
2016-09-21 16:55:20 -05:00
android:title="@string/settings_developer_logging_title"
android:summary="@string/settings_developer_logging_summary" />
2017-01-28 06:13:07 +08:00
<SwitchPreference
2016-09-30 11:35:46 +08:00
android:key="shell_logging"
android:defaultValue="false"
android:title="@string/settings_shell_logging_title"
android:summary="@string/settings_shell_logging_summary" />
2016-09-21 16:55:20 -05:00
</PreferenceCategory>
</PreferenceScreen>