2016-09-21 16:55:20 -05:00
|
|
|
<PreferenceScreen
|
|
|
|
android:layout_marginTop="?attr/actionBarSize"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
2016-09-25 00:16:28 -05:00
|
|
|
<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-02-22 04:58:03 +08:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:title="@string/settings_notification_title"
|
|
|
|
android:summary="@string/settings_notification_summary"
|
|
|
|
android:key="notification" />
|
|
|
|
|
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
|
|
|
|
2017-02-02 19:19:22 +08:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="disable"
|
|
|
|
android:title="@string/settings_disable_title"
|
|
|
|
android:summary="@string/settings_disable_summary" />
|
|
|
|
|
2017-02-05 04:40:52 +08:00
|
|
|
<SwitchPreference
|
2016-09-29 23:24:31 +08:00
|
|
|
android:key="busybox"
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:title="@string/settings_busybox_title"
|
|
|
|
android:summary="@string/settings_busybox_summary" />
|
|
|
|
|
2017-02-01 23:54:32 +08:00
|
|
|
<SwitchPreference
|
|
|
|
android:key="magiskhide"
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:title="@string/magiskhide"
|
|
|
|
android:summary="@string/settings_magiskhide_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" />
|
|
|
|
|
2016-09-25 00:16:28 -05:00
|
|
|
</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>
|