
- use PreferenceFragmentCompat - this requires androidx Fragments - explicit declaration of androidx widgets in preferences.xml no longer required
44 lines
1.6 KiB
XML
44 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<PreferenceScreen
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<CheckBoxPreference
|
|
android:defaultValue="true"
|
|
android:key="pref_panic_exit"
|
|
android:summary="@string/panic_exit_summary"
|
|
android:title="@string/panic_exit_title"/>
|
|
|
|
<PreferenceCategory
|
|
android:key="pref_panic_destructive_actions"
|
|
android:title="@string/panic_destructive_actions">
|
|
|
|
<ListPreference
|
|
android:key="pref_panic_app"
|
|
android:summary="@string/panic_app_setting_summary"
|
|
android:title="@string/panic_app_setting_title"
|
|
tools:icon="@drawable/ic_cancel"/>
|
|
|
|
<org.fdroid.fdroid.panic.DestructiveCheckBoxPreference
|
|
android:defaultValue="false"
|
|
android:enabled="false"
|
|
android:key="pref_panic_hide"
|
|
android:summary="@string/panic_hide_summary"
|
|
android:title="@string/panic_hide_title"/>
|
|
|
|
<org.fdroid.fdroid.panic.DestructiveCheckBoxPreference
|
|
android:defaultValue="false"
|
|
android:enabled="false"
|
|
android:key="pref_panic_reset_repos"
|
|
android:summary="@string/panic_reset_repos_summary"
|
|
android:title="@string/panic_reset_repos_title"/>
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:key="pref_panic_apps_to_uninstall"
|
|
android:title="@string/panic_apps_to_uninstall">
|
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen> |