aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/preference.xml24
1 files changed, 23 insertions, 1 deletions
diff --git a/app/src/main/res/xml/preference.xml b/app/src/main/res/xml/preference.xml
index dfbb44a4..3d91cbfa 100644
--- a/app/src/main/res/xml/preference.xml
+++ b/app/src/main/res/xml/preference.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto">
<androidx.preference.PreferenceCategory android:title="@string/pref_git_title">
<androidx.preference.Preference
android:key="git_server_info"
@@ -48,6 +49,27 @@
android:title="@string/pref_key_title" />
</androidx.preference.PreferenceCategory>
+ <androidx.preference.PreferenceCategory android:title="@string/password_generator_category_title">
+ <androidx.preference.ListPreference
+ android:key="pref_key_pwgen_type"
+ android:title="@string/xkpwgen_pref_gentype_title"
+ android:defaultValue="classic"
+ android:entries="@array/pwgen_provider"
+ android:entryValues="@array/pwgen_provider"
+ app:useSimpleSummaryProvider="true"
+ android:persistent="true" />
+ <androidx.preference.CheckBoxPreference
+ android:key="pref_key_is_custom_dict"
+ android:title="@string/xkpwgen_pref_custom_dict_title"
+ android:summaryOn="@string/xkpwgen_pref_custom_dict_summary_on"
+ android:summaryOff="@string/xkpwgen_pref_custom_dict_summary_off"/>
+ <androidx.preference.Preference
+ android:key="pref_key_custom_dict"
+ android:title="@string/xkpwgen_pref_custom_dict_picker_title"
+ android:summary="@string/xkpwgen_pref_custom_dict_picker_summary"
+ android:dependency="pref_key_is_custom_dict"/>
+ </androidx.preference.PreferenceCategory>
+
<androidx.preference.PreferenceCategory android:title="@string/pref_general_title">
<androidx.preference.EditTextPreference
android:defaultValue="45"