summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_git_config.xml2
-rw-r--r--app/src/main/res/layout/fragment_ssh_keygen.xml33
-rw-r--r--app/src/main/res/values-ar/strings.xml4
-rw-r--r--app/src/main/res/values-cs/strings.xml3
-rw-r--r--app/src/main/res/values-de/strings.xml5
-rw-r--r--app/src/main/res/values-es/strings.xml5
-rw-r--r--app/src/main/res/values-fr/strings.xml5
-rw-r--r--app/src/main/res/values-ja/strings.xml3
-rw-r--r--app/src/main/res/values-ru/strings.xml6
-rw-r--r--app/src/main/res/values-zh-rCN/strings.xml3
-rw-r--r--app/src/main/res/values-zh-rTW/strings.xml3
-rw-r--r--app/src/main/res/values/strings.xml17
-rw-r--r--app/src/main/res/xml/preference.xml154
13 files changed, 123 insertions, 120 deletions
diff --git a/app/src/main/res/layout/activity_git_config.xml b/app/src/main/res/layout/activity_git_config.xml
index 94c09e27..0ea45c55 100644
--- a/app/src/main/res/layout/activity_git_config.xml
+++ b/app/src/main/res/layout/activity_git_config.xml
@@ -23,7 +23,7 @@
android:id="@+id/git_user_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:inputType="textNoSuggestions|textVisiblePassword" />
+ android:inputType="textPersonName" />
</com.google.android.material.textfield.TextInputLayout>
diff --git a/app/src/main/res/layout/fragment_ssh_keygen.xml b/app/src/main/res/layout/fragment_ssh_keygen.xml
index 16c3f512..90cf4df0 100644
--- a/app/src/main/res/layout/fragment_ssh_keygen.xml
+++ b/app/src/main/res/layout/fragment_ssh_keygen.xml
@@ -17,11 +17,34 @@
android:gravity="center_vertical"
android:text="@string/ssh_keygen_length" />
- <Spinner
- android:id="@+id/length"
- android:layout_width="fill_parent"
+ <com.google.android.material.button.MaterialButtonToggleGroup
+ style="@style/TextAppearance.MaterialComponents.Headline1"
+ android:id="@+id/key_length_group"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:spinnerMode="dropdown" />
+ app:selectionRequired="true"
+ app:singleSelection="true">
+ <com.google.android.material.button.MaterialButton
+ style="?attr/materialButtonOutlinedStyle"
+ android:id="@+id/key_length_2048"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/key_length_2048"
+ android:textColor="?android:attr/textColorPrimary"
+ app:rippleColor="@color/ripple_color"
+ app:strokeColor="?attr/colorSecondary"
+ app:backgroundTint="@color/toggle_button_selector" />
+ <com.google.android.material.button.MaterialButton
+ style="?attr/materialButtonOutlinedStyle"
+ android:id="@+id/key_length_4096"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/key_length_4096"
+ android:textColor="?android:attr/textColorPrimary"
+ app:rippleColor="@color/ripple_color"
+ app:strokeColor="?attr/colorSecondary"
+ app:backgroundTint="@color/toggle_button_selector" />
+ </com.google.android.material.button.MaterialButtonToggleGroup>
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
@@ -38,7 +61,7 @@
android:inputType="textPassword" />
</com.google.android.material.textfield.TextInputLayout>
- <CheckBox
+ <com.google.android.material.checkbox.MaterialCheckBox
android:id="@+id/show_passphrase"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
diff --git a/app/src/main/res/values-ar/strings.xml b/app/src/main/res/values-ar/strings.xml
index 15ec0a8e..8f335c14 100644
--- a/app/src/main/res/values-ar/strings.xml
+++ b/app/src/main/res/values-ar/strings.xml
@@ -72,8 +72,7 @@
<string name="pref_dialog_delete_title">تنحية المستودع</string>
<string name="pref_crypto_title">التشفير</string>
<string name="pref_provider_title">إختيار مزود الأوبن بي جي بي OpenPGP</string>
- <string name="pref_general_title">الإعدادات العامة</string>
- <string name="pref_show_time_title">مدة الإبقاء على كلمة السر ظاهرة</string>
+ <string name="pref_category_general_title">الإعدادات العامة</string>
<string name="pref_copy_title">نسخ كلمة السر تلقائيًا</string>
<string name="ssh_key_success_dialog_title">تم استيراد مفتاح الـ SSH</string>
<string name="ssh_key_error_dialog_text">نص الرسالة : \n</string>
@@ -88,7 +87,6 @@
<string name="pref_external_repository_summary">إستخدم كلمة مرور المستودع الخارجي</string>
<string name="pref_select_external_repository">إختيار مستودع التخزين الخارجي</string>
<string name="prefs_use_default_file_picker">إستخدم أداة إختيار الملفات الإفتراضي</string>
- <string name="prefs_clear_after_copy_title">تنظيف الحافظة مباشرةً بعد النسخ</string>
<string name="prefs_export_passwords_title">تصدير كلمات السر</string>
<string name="prefs_version">النسخة</string>
diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml
index 5917ff6b..6b8c6f44 100644
--- a/app/src/main/res/values-cs/strings.xml
+++ b/app/src/main/res/values-cs/strings.xml
@@ -112,8 +112,7 @@
<string name="pref_crypto_title">Šifrování</string>
<string name="pref_provider_title">Vybrat poskytovatele OpenPGP</string>
<string name="pref_key_title">Vybrat ID OpenPGP klíče</string>
- <string name="pref_general_title">Všeobecné</string>
- <string name="pref_show_time_title">Čas zobrazení hesla</string>
+ <string name="pref_category_general_title">Všeobecné</string>
<string name="pref_copy_title">Automaticky kopírovat heslo</string>
<string name="pref_copy_dialog_title">Automatické kopírování hesla do schránky po úspěšném dešifrování.</string>
<string name="ssh_key_success_dialog_title">SSH-key importován</string>
diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml
index aec047f9..c94b363c 100644
--- a/app/src/main/res/values-de/strings.xml
+++ b/app/src/main/res/values-de/strings.xml
@@ -87,8 +87,7 @@
<string name="pref_crypto_title">Kryptografie</string>
<string name="pref_provider_title">Wähle OpenPGP-Provider</string>
<string name="pref_key_title">Wähle OpenPGP-Key ID</string>
- <string name="pref_general_title">Allgemein</string>
- <string name="pref_show_time_title">Ablaufzeit des Passworts</string>
+ <string name="pref_category_general_title">Allgemein</string>
<string name="pref_copy_title">Kopiere Passwort automatisch</string>
<string name="pref_copy_dialog_title">Kopiert das Passwort in die Zwischenablage, wenn der Eintrag entschlüsselt wurde.</string>
<string name="ssh_key_success_dialog_title">SSH-Key importiert</string>
@@ -112,8 +111,6 @@
<string name="pref_external_repository_summary">Nutze ein externes Repository</string>
<string name="pref_select_external_repository">Wähle ein externes Repository</string>
<string name="prefs_use_default_file_picker">Benutze Standardauswahl für Dateien</string>
- <string name="prefs_clear_after_copy_title">Zwischenablage automatisch leeren</string>
- <string name="prefs_clear_after_copy_summary">Nach automatischen oder manuellen Kopieren des Passwords wird die Zwischenablage automatisch geleert</string>
<string name="prefs_export_passwords_title">Passwörter exportieren</string>
<string name="prefs_export_passwords_summary">Exportiert die verschlüsselten Passwörter in ein externes Verzeichnis</string>
<string name="prefs_version">Version</string>
diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml
index 55cc3cda..2904e767 100644
--- a/app/src/main/res/values-es/strings.xml
+++ b/app/src/main/res/values-es/strings.xml
@@ -113,8 +113,7 @@
<string name="pref_provider_title">Selecciona un proveedor OpenPGP</string>
<string name="pref_key_title">Selecciona la llave OpenPGP</string>
<string name="pref_no_key_selected">Ninguna llave seleccionada</string>
- <string name="pref_general_title">General</string>
- <string name="pref_show_time_title">Tiempo para mostrar contraseña</string>
+ <string name="pref_category_general_title">General</string>
<string name="pref_copy_title">Copiar contraseña automáticamente</string>
<string name="pref_copy_dialog_title">Automáticamente copia la contraseña al portapapeles si el descifrado fue exitoso.</string>
<string name="ssh_key_success_dialog_title">Llave SSH importada</string>
@@ -142,8 +141,6 @@
<string name="pref_external_repository_summary">Usar un repositorio externo para contraseñas</string>
<string name="pref_select_external_repository">Seleccionar repositorio externo</string>
<string name="prefs_use_default_file_picker">Usar seleccionador de archivos por defecto</string>
- <string name="prefs_clear_after_copy_title">Limpiar automáticamente el portapapeles después de copiar</string>
- <string name="prefs_clear_after_copy_summary">Después de copiar manual o automáticamente la contraseña, el portapapeles será automáticamente limpiado.</string>
<string name="prefs_export_passwords_title">Exportar contraseñas</string>
<string name="prefs_export_passwords_summary">Exporta las contraseñas cifradas a un directorio externo.</string>
<string name="prefs_version">Versión</string>
diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml
index 7a28dd82..e8a70667 100644
--- a/app/src/main/res/values-fr/strings.xml
+++ b/app/src/main/res/values-fr/strings.xml
@@ -121,8 +121,7 @@
<string name="pref_provider_title">Sélection du prestataire OpenPGP</string>
<string name="pref_key_title">Sélection de votre identifiant OpenPGP</string>
<string name="pref_no_key_selected">Aucune clé sélectionnée</string>
- <string name="pref_general_title">Général</string>
- <string name="pref_show_time_title">Durée de disponibilité du mot de passe</string>
+ <string name="pref_category_general_title">Général</string>
<string name="pref_copy_title">Copie automatique du mot de passe</string>
<string name="pref_copy_dialog_title">Copie automatiquement le mot de passe vers le presse-papier si le déchiffrement a réussi.</string>
<string name="ssh_key_success_dialog_title">Clef SSH importée</string>
@@ -147,8 +146,6 @@
<string name="pref_external_repository_summary">Utilise un dépôt externe pour les mots de passe</string>
<string name="pref_select_external_repository">Choisissez un dépôt externe</string>
<string name="prefs_use_default_file_picker">Utiliser le selecteur de fichier par défaut</string>
- <string name="prefs_clear_after_copy_title">Vider le presse-papier automatiquement après la copie</string>
- <string name="prefs_clear_after_copy_summary">"Après une copie du mot de passe, le presse papier sera automatiquement vidé "</string>
<string name="prefs_export_passwords_title">Exporter les mots de passe</string>
<string name="prefs_export_passwords_summary">Exporter les mots de passe (chiffrés) vers un répertoire externe</string>
<string name="prefs_version">Version</string>
diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml
index a70c5670..4337c6d0 100644
--- a/app/src/main/res/values-ja/strings.xml
+++ b/app/src/main/res/values-ja/strings.xml
@@ -73,8 +73,7 @@
<string name="pref_crypto_title">暗号化</string>
<string name="pref_provider_title">OpenPGP プロバイダーを選択</string>
<string name="pref_key_title">OpenPGP 鍵 ID を選択</string>
- <string name="pref_general_title">全般</string>
- <string name="pref_show_time_title">パスワード表示時間</string>
+ <string name="pref_category_general_title">全般</string>
<string name="pref_copy_title">自動的にパスワードをコピー</string>
<string name="pref_copy_dialog_title">復号化が成功した後、自動的にパスワードをクリップボードにコピーします。</string>
<string name="ssh_key_success_dialog_title">SSH 鍵をインポートしました</string>
diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml
index 9e192c1d..3859ac6b 100644
--- a/app/src/main/res/values-ru/strings.xml
+++ b/app/src/main/res/values-ru/strings.xml
@@ -126,9 +126,7 @@
<string name="pref_provider_title">Выберите провайдера OpenPGP</string>
<string name="pref_key_title">Выберите ключ OpenPGP</string>
<string name="pref_no_key_selected">Ключи не выбраны</string>
- <string name="pref_general_title">Общие</string>
- <string name="pref_show_time_title">Время в буфере</string>
- <string name="pref_show_time_summary">Уставить время (в секундах) в течении которого пароль будет находиться в буфере обмена. 0 - останется навсегда. Текущее значение: %1$s</string>
+ <string name="pref_category_general_title">Общие</string>
<string name="pref_copy_title">Автоматически копировать пароль</string>
<string name="pref_copy_dialog_title">Автоматически копировать пароль в буфер обмена после успешного расшифрования</string>
<string name="ssh_key_success_dialog_title">SSH ключ импортирован</string>
@@ -158,8 +156,6 @@
<string name="pref_external_repository_summary">Использовать внешний репозиторий</string>
<string name="pref_select_external_repository">Выбрать внешний репозиторий</string>
<string name="prefs_use_default_file_picker">Использовать стандартное окно выбора файлов</string>
- <string name="prefs_clear_after_copy_title">Автоматически очищать буфер обмена после вставки</string>
- <string name="prefs_clear_after_copy_summary">После автоматического или ручного копирования, буфер обмена будет автоматически очищен.</string>
<string name="prefs_export_passwords_title">Экспортировать пароли</string>
<string name="prefs_export_passwords_summary">Экспортировать пароли в открытом виде во внешнее хранилище</string>
<string name="prefs_version">Версия</string>
diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml
index 76926ce9..1ab16b96 100644
--- a/app/src/main/res/values-zh-rCN/strings.xml
+++ b/app/src/main/res/values-zh-rCN/strings.xml
@@ -73,8 +73,7 @@
<string name="pref_crypto_title">加密</string>
<string name="pref_provider_title">选择 OpenPGP 应用</string>
<string name="pref_key_title">选择 OpenPGP Key Id</string>
- <string name="pref_general_title">通用</string>
- <string name="pref_show_time_title">密码保存时限</string>
+ <string name="pref_category_general_title">通用</string>
<string name="pref_copy_title">自动复制密码</string>
<string name="pref_copy_dialog_title">解密成功后自动将密码复制到剪贴板</string>
<string name="ssh_key_success_dialog_title">成功导入SSH密钥</string>
diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml
index 7a4b4f1f..b0f5231a 100644
--- a/app/src/main/res/values-zh-rTW/strings.xml
+++ b/app/src/main/res/values-zh-rTW/strings.xml
@@ -70,8 +70,7 @@
<string name="pref_crypto_title">加密</string>
<string name="pref_provider_title">選擇 OpenPGP app</string>
<string name="pref_key_title">選擇 OpenPGP Key Id</string>
- <string name="pref_general_title">一般</string>
- <string name="pref_show_time_title">密碼保存時限</string>
+ <string name="pref_category_general_title">一般</string>
<string name="pref_copy_title">自動複製密碼</string>
<string name="pref_copy_dialog_title">解密成功後自動將密碼複製到剪貼簿</string>
<string name="ssh_key_success_dialog_title">成功匯入 SSH 金鑰</string>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 37dbfef6..650762eb 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -143,9 +143,10 @@
<string name="pref_provider_title">Select OpenPGP provider</string>
<string name="pref_key_title">Select OpenPGP key ID</string>
<string name="pref_no_key_selected">No key selected</string>
- <string name="pref_general_title">General</string>
- <string name="pref_show_time_title">Password show time</string>
- <string name="pref_show_time_summary">Set the time (in seconds) you want the password to be in clipboard. 0 means forever. Current value: %1$s</string>
+ <string name="pref_category_general_title">General</string>
+ <string name="pref_category_title_passwords">Passwords</string>
+ <string name="pref_clipboard_timeout_title">Password copy timeout</string>
+ <string name="pref_clipboard_timeout_summary">Set the time (in seconds) you want the password to be in clipboard. 0 means forever. Current value: %1$s</string>
<string name="pref_copy_title">Automatically copy password</string>
<string name="pref_copy_dialog_title">Automatically copy the password to the clipboard after decryption was successful.</string>
<string name="ssh_key_import_error_not_an_ssh_key_message">Selected file does not appear to be an SSH private key.</string>
@@ -177,8 +178,6 @@
<string name="pref_external_repository_summary">Use an external password repository</string>
<string name="pref_select_external_repository">Select external repository</string>
<string name="prefs_use_default_file_picker">Use default file picker</string>
- <string name="prefs_clear_after_copy_title">Automatically clear the clipboard after copy</string>
- <string name="prefs_clear_after_copy_summary">After an automatic copy or a manual copy of the password, the clipboard will be automatically cleared.</string>
<string name="prefs_export_passwords_title">Export passwords</string>
<string name="prefs_export_passwords_summary">Exports the encrypted passwords to an external directory</string>
<string name="prefs_version">Version</string>
@@ -223,6 +222,10 @@
<string name="ssh_keygen_copy">Copy</string>
<string name="ssh_keygen_tip">Provide this public key to your Git server.</string>
<string name="ssh_keygen_show_passphrase">Show passphrase</string>
+ <string name="ssh_key_gen_generating_progress">Generating keys…</string>
+ <string name="ssh_keygen_generating_done">Done!</string>
+ <string name="key_length_2048" translatable="false">2048</string>
+ <string name="key_length_4096" translatable="false">4096</string>
<!-- Misc -->
<string name="dialog_ok">OK</string>
@@ -236,9 +239,9 @@
<string name="git_pull">Pull from remote</string>
<string name="git_push">Push to remote</string>
<string name="show_password_pref_title">Show the password</string>
- <string name="show_password_pref_summary">Control the visibility of the passwords once decrypted, this does not disable the password copy</string>
+ <string name="show_password_pref_summary">Control the visibility of the passwords once decrypted. This does not disable copying to clipboard.</string>
<string name="show_extra_content_pref_title">Show extra content</string>
- <string name="show_extra_content_pref_summary">Control the visibility of the extra content once decrypted</string>
+ <string name="show_extra_content_pref_summary">Control the visibility of the extra content once decrypted.</string>
<string name="pwd_generate_button">Generate</string>
<string name="refresh_list">Refresh list</string>
<string name="no_repo_selected">No external repository selected</string>
diff --git a/app/src/main/res/xml/preference.xml b/app/src/main/res/xml/preference.xml
index abc40a8e..fe488a35 100644
--- a/app/src/main/res/xml/preference.xml
+++ b/app/src/main/res/xml/preference.xml
@@ -1,61 +1,61 @@
<?xml version="1.0" encoding="utf-8"?>
-<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+<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_autofill_title">
- <androidx.preference.SwitchPreferenceCompat
+ <PreferenceCategory app:title="@string/pref_autofill_title">
+ <SwitchPreferenceCompat
app:defaultValue="true"
app:key="autofill_enable"
app:title="@string/pref_autofill_enable_title"/>
- <androidx.preference.ListPreference
+ <ListPreference
app:defaultValue="file"
app:entries="@array/oreo_autofill_directory_structure_entries"
app:entryValues="@array/oreo_autofill_directory_structure_values"
app:key="oreo_autofill_directory_structure"
app:title="@string/oreo_autofill_preference_directory_structure"
app:useSimpleSummaryProvider="true" />
- <androidx.preference.Preference
+ <Preference
app:key="autofill_apps"
app:title="@string/pref_autofill_apps_title"/>
- <androidx.preference.CheckBoxPreference
+ <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
+ <CheckBoxPreference
app:defaultValue="false"
app:key="autofill_always"
app:title="@string/pref_autofill_always_title"/>
- <androidx.preference.CheckBoxPreference
+ <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>
+ </PreferenceCategory>
- <androidx.preference.PreferenceCategory app:title="@string/pref_git_title">
- <androidx.preference.Preference
+ <PreferenceCategory app:title="@string/pref_git_title">
+ <Preference
app:key="git_server_info"
app:title="@string/pref_edit_server_info" />
- <androidx.preference.Preference
+ <Preference
app:key="git_config"
app:title="@string/pref_edit_git_config" />
- <androidx.preference.Preference
+ <Preference
app:key="ssh_key"
app:title="@string/pref_ssh_title" />
- <androidx.preference.Preference
+ <Preference
app:key="ssh_keygen"
app:title="@string/pref_ssh_keygen_title" />
- <androidx.preference.Preference app:key="clear_saved_pass" />
- <androidx.preference.Preference
+ <Preference app:key="clear_saved_pass" />
+ <Preference
app:key="hotp_remember_clear_choice"
app:title="@string/hotp_remember_clear_choice" />
- <androidx.preference.Preference
+ <Preference
app:key="ssh_openkeystore_clear_keyid"
app:title="@string/ssh_openkeystore_clear_keyid" />
- <androidx.preference.Preference
+ <Preference
app:key="ssh_see_key"
app:title="@string/pref_ssh_see_key_title" />
- <androidx.preference.Preference
+ <Preference
app:key="git_delete_repo"
app:summary="@string/pref_git_delete_repo_summary"
app:title="@string/pref_git_delete_repo" />
@@ -63,23 +63,23 @@
app:key="git_external"
app:summary="@string/pref_external_repository_summary"
app:title="@string/pref_external_repository" />
- <androidx.preference.Preference
+ <Preference
app:dependency="git_external"
app:key="pref_select_external"
app:title="@string/pref_select_external_repository" />
- </androidx.preference.PreferenceCategory>
+ </PreferenceCategory>
- <androidx.preference.PreferenceCategory app:title="@string/pref_crypto_title">
+ <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
+ <Preference
app:key="openpgp_key_id_pref"
app:title="@string/pref_key_title" />
- </androidx.preference.PreferenceCategory>
+ </PreferenceCategory>
- <androidx.preference.PreferenceCategory app:title="@string/password_generator_category_title">
- <androidx.preference.ListPreference
+ <PreferenceCategory app:title="@string/password_generator_category_title">
+ <ListPreference
app:key="pref_key_pwgen_type"
app:title="@string/xkpwgen_pref_gentype_title"
app:defaultValue="classic"
@@ -87,19 +87,19 @@
app:entryValues="@array/pwgen_provider_values"
app:useSimpleSummaryProvider="true"
app:persistent="true" />
- <androidx.preference.CheckBoxPreference
+ <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
+ <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>
+ </PreferenceCategory>
- <androidx.preference.PreferenceCategory app:title="@string/pref_general_title">
+ <PreferenceCategory app:title="@string/pref_category_general_title">
<ListPreference
android:defaultValue="@string/app_theme_def"
android:key="app_theme"
@@ -107,81 +107,77 @@
android:entryValues="@array/app_theme_values"
android:summary="%s"
android:title="@string/theme_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
+ <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" />
+ <CheckBoxPreference
app:defaultValue="true"
app:key="filter_recursively"
app:summary="@string/pref_recursive_filter_hint"
app:title="@string/pref_recursive_filter" />
- <androidx.preference.CheckBoxPreference
+ <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.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
+ <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
+ <CheckBoxPreference
app:key="biometric_auth"
app:title="@string/biometric_auth_title"
app:summary="@string/biometric_auth_summary" />
- </androidx.preference.PreferenceCategory>
+ </PreferenceCategory>
+ <PreferenceCategory app:title="@string/pref_category_title_passwords">
+ <EditTextPreference
+ android:inputType="number"
+ app:defaultValue="45"
+ app:key="general_show_time"
+ app:summary="@string/pref_clipboard_timeout_summary"
+ app:title="@string/pref_clipboard_timeout_title" />
+ <CheckBoxPreference
+ app:defaultValue="true"
+ app:title="@string/show_password_pref_title"
+ app:summary="@string/show_password_pref_summary"
+ app:key="show_password" />
+ <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" />
+ <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" />
+ </PreferenceCategory>
- <androidx.preference.PreferenceCategory app:title="@string/pref_misc_title">
- <androidx.preference.Preference
+ <PreferenceCategory app:title="@string/pref_misc_title">
+ <Preference
app:key="export_passwords"
app:title="@string/prefs_export_passwords_title"
app:summary="@string/prefs_export_passwords_summary"/>
- <androidx.preference.CheckBoxPreference
+ <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>
+ </PreferenceCategory>
- <androidx.preference.PreferenceCategory>
- <androidx.preference.Preference
+ <PreferenceCategory>
+ <Preference
app:icon="@mipmap/ic_launcher_round"
app:key="app_version"
app:title="@string/prefs_version" />
- </androidx.preference.PreferenceCategory>
-</androidx.preference.PreferenceScreen>
+ </PreferenceCategory>
+</PreferenceScreen>