aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/preference.xml
blob: 1fb8d3253ce768f3366a2f178d43cf23717a7562 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">
    <androidx.preference.PreferenceCategory app:title="@string/pref_git_title">
        <androidx.preference.Preference
            app:key="git_server_info"
            app:title="@string/pref_edit_server_info" />
        <androidx.preference.Preference
            app:key="git_config"
            app:title="@string/pref_edit_git_config" />
        <androidx.preference.Preference
            app:key="ssh_key"
            app:title="@string/pref_ssh_title" />
        <androidx.preference.Preference
            app:key="ssh_keygen"
            app:title="@string/pref_ssh_keygen_title" />
        <androidx.preference.Preference
            app:key="ssh_key_clear_passphrase"
            app:title="@string/ssh_key_clear_passphrase" />
        <androidx.preference.Preference
            app:key="hotp_remember_clear_choice"
            app:title="@string/hotp_remember_clear_choice" />
        <androidx.preference.Preference
            app:key="ssh_openkeystore_clear_keyid"
            app:title="@string/ssh_openkeystore_clear_keyid" />
        <androidx.preference.Preference
            app:key="ssh_see_key"
            app:title="@string/pref_ssh_see_key_title" />
        <androidx.preference.Preference
            app:key="git_delete_repo"
            app:summary="@string/pref_git_delete_repo_summary"
            app:title="@string/pref_git_delete_repo" />
        <CheckBoxPreference
            app:key="git_external"
            app:summary="@string/pref_external_repository_summary"
            app:title="@string/pref_external_repository" />
        <androidx.preference.Preference
            app:dependency="git_external"
            app:key="pref_select_external"
            app:title="@string/pref_select_external_repository" />
    </androidx.preference.PreferenceCategory>

    <androidx.preference.PreferenceCategory app:title="@string/pref_crypto_title">
        <me.msfjarvis.openpgpktx.preference.OpenPgpAppPreference
            app:key="openpgp_provider_list"
            app:title="@string/pref_provider_title" />
        <androidx.preference.Preference
            app:key="openpgp_key_id_pref"
            app:title="@string/pref_key_title" />
    </androidx.preference.PreferenceCategory>

    <androidx.preference.PreferenceCategory app:title="@string/password_generator_category_title">
        <androidx.preference.ListPreference
            app:key="pref_key_pwgen_type"
            app:title="@string/xkpwgen_pref_gentype_title"
            app:defaultValue="classic"
            app:entries="@array/pwgen_provider_labels"
            app:entryValues="@array/pwgen_provider_values"
            app:useSimpleSummaryProvider="true"
            app:persistent="true" />
        <androidx.preference.CheckBoxPreference
            app:key="pref_key_is_custom_dict"
            app:title="@string/xkpwgen_pref_custom_dict_title"
            app:summaryOn="@string/xkpwgen_pref_custom_dict_summary_on"
            app:summaryOff="@string/xkpwgen_pref_custom_dict_summary_off"/>
        <androidx.preference.Preference
            app:key="pref_key_custom_dict"
            app:title="@string/xkpwgen_pref_custom_dict_picker_title"
            app:summary="@string/xkpwgen_pref_custom_dict_picker_summary"
            app:dependency="pref_key_is_custom_dict"/>
    </androidx.preference.PreferenceCategory>

    <androidx.preference.PreferenceCategory app:title="@string/pref_general_title">
        <androidx.preference.EditTextPreference
            app:defaultValue="45"
            app:dialogTitle="@string/pref_show_time_summary"
            android:inputType="number"
            app:key="general_show_time"
            app:summary="@string/pref_show_time_summary"
            app:title="@string/pref_show_time_title" />
        <androidx.preference.CheckBoxPreference
            app:defaultValue="true"
            app:title="@string/show_password_pref_title"
            app:summary="@string/show_password_pref_summary"
            app:key="show_password" />
        <androidx.preference.CheckBoxPreference
            app:defaultValue="true"
            app:title="@string/show_extra_content_pref_title"
            app:summary="@string/show_extra_content_pref_summary"
            app:key="show_extra_content" />
        <androidx.preference.CheckBoxPreference
            app:defaultValue="true"
            app:dialogTitle="@string/pref_copy_dialog_title"
            app:key="copy_on_decrypt"
            app:summary="@string/pref_copy_dialog_title"
            app:title="@string/pref_copy_title" />
        <androidx.preference.CheckBoxPreference
            app:defaultValue="true"
            app:key="clear_after_copy"
            app:summary="@string/prefs_clear_after_copy_summary"
            app:title="@string/prefs_clear_after_copy_title" />
        <androidx.preference.CheckBoxPreference
            app:defaultValue="true"
            app:key="filter_recursively"
            app:summary="@string/pref_recursive_filter_hint"
            app:title="@string/pref_recursive_filter" />
        <androidx.preference.CheckBoxPreference
            app:defaultValue="false"
            app:key="search_on_start"
            app:summary="@string/pref_search_on_start_hint"
            app:title="@string/pref_search_on_start" />
        <androidx.preference.CheckBoxPreference
            app:defaultValue="false"
            app:key="search_from_root"
            app:summary="@string/pref_search_from_root_hint"
            app:title="@string/pref_search_from_root" />
        <androidx.preference.ListPreference
            app:title="@string/pref_sort_order_title"
            app:defaultValue="FOLDER_FIRST"
            app:key="sort_order"
            app:entries="@array/sort_order_entries"
            app:entryValues="@array/sort_order_values"
            app:persistent="true"
            app:summary="%s" />
        <androidx.preference.CheckBoxPreference
            app:title="@string/pref_show_hidden_title"
            app:summary="@string/pref_show_hidden_summary"
            app:key="show_hidden_folders"
            app:defaultValue="false"
            app:persistent="true" />
        <androidx.preference.SwitchPreferenceCompat
            app:key="biometric_auth"
            app:title="@string/biometric_auth_title"
            app:summary="@string/biometric_auth_summary" />
    </androidx.preference.PreferenceCategory>

    <androidx.preference.PreferenceCategory app:title="@string/pref_autofill_title">
        <androidx.preference.SwitchPreferenceCompat
            app:defaultValue="true"
            app:key="autofill_enable"
            app:title="@string/pref_autofill_enable_title"/>
        <androidx.preference.Preference
            app:key="autofill_apps"
            app:title="@string/pref_autofill_apps_title"/>
        <androidx.preference.CheckBoxPreference
            app:defaultValue="true"
            app:key="autofill_default"
            app:summary="@string/pref_autofill_default_hint"
            app:title="@string/pref_autofill_default_title"/>
        <androidx.preference.CheckBoxPreference
            app:defaultValue="false"
            app:key="autofill_always"
            app:title="@string/pref_autofill_always_title"/>
        <androidx.preference.CheckBoxPreference
            app:defaultValue="false"
            app:key="autofill_full_path"
            app:summary="@string/pref_autofill_full_path_hint"
            app:title="@string/pref_autofill_full_path_title"/>
    </androidx.preference.PreferenceCategory>

    <androidx.preference.PreferenceCategory app:title="@string/pref_misc_title">
        <androidx.preference.Preference
            app:key="export_passwords"
            app:title="@string/prefs_export_passwords_title"
            app:summary="@string/prefs_export_passwords_summary"/>

        <androidx.preference.CheckBoxPreference
            app:defaultValue="false"
            app:key="clear_clipboard_20x"
            app:summary="@string/pref_clear_clipboard_hint"
            app:title="@string/pref_clear_clipboard_title" />
    </androidx.preference.PreferenceCategory>

    <androidx.preference.PreferenceCategory>
        <androidx.preference.Preference
            app:icon="@mipmap/ic_launcher_round"
            app:key="app_version"
            app:title="@string/prefs_version" />
    </androidx.preference.PreferenceCategory>
</androidx.preference.PreferenceScreen>