aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
authorMohamed Zenadi <mohamed@zenadi.com>2015-06-17 21:18:26 +0200
committerMohamed Zenadi <mohamed@zenadi.com>2015-06-17 21:18:26 +0200
commit1db4f7bbc31d0e9f24247e4973474d37f12ab72d (patch)
tree05dda1938b72db7eed2d741a33cc22d9f1cf7dfd /app/src/main/res/xml
parentbfdccf4d920f5172a3d88ac0358e0b06ad5fe520 (diff)
Add the option for not showing the passwords after decrypt
fixes #90
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/preference.xml97
1 files changed, 62 insertions, 35 deletions
diff --git a/app/src/main/res/xml/preference.xml b/app/src/main/res/xml/preference.xml
index d9d4603d..1ddcde41 100644
--- a/app/src/main/res/xml/preference.xml
+++ b/app/src/main/res/xml/preference.xml
@@ -1,40 +1,67 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
- <PreferenceCategory android:title="@string/pref_git_title">
- <Preference android:title="@string/pref_edit_server_info" android:key="git_server_info"/>
- <Preference android:title="@string/pref_ssh_title" android:key="ssh_key" />
- <Preference android:title="@string/pref_git_delete_repo" android:key="git_delete_repo"
- android:summary="Deletes local repository"/>
- <CheckBoxPreference android:title="External repository" android:key="git_external"
- android:summary="Use an external password repository"/>
- <Preference android:title="Select external repository" android:key="pref_select_external"
- android:dependency="git_external"/>
- <CheckBoxPreference android:title="Enable git" android:key="git_enabled"
- android:summary="Enable Git" android:enabled="false"/>
- </PreferenceCategory>
+ <PreferenceCategory android:title="@string/pref_git_title">
+ <Preference
+ android:key="git_server_info"
+ android:title="@string/pref_edit_server_info" />
+ <Preference
+ android:key="ssh_key"
+ android:title="@string/pref_ssh_title" />
+ <Preference
+ android:key="git_delete_repo"
+ android:summary="Deletes local repository"
+ android:title="@string/pref_git_delete_repo" />
+ <CheckBoxPreference
+ android:key="git_external"
+ android:summary="Use an external password repository"
+ android:title="External repository" />
+ <Preference
+ android:dependency="git_external"
+ android:key="pref_select_external"
+ android:title="Select external repository" />
+ <CheckBoxPreference
+ android:enabled="false"
+ android:key="git_enabled"
+ android:summary="Enable Git"
+ android:title="Enable git" />
+ </PreferenceCategory>
- <PreferenceCategory android:title="@string/pref_crypto_title">
- <org.openintents.openpgp.util.OpenPgpAppPreference
- android:key="openpgp_provider_list" android:title="@string/pref_provider_title" />
- <org.openintents.openpgp.util.OpenPgpKeyPreference
- android:key="openpgp_key" android:title="Select key"
- android:enabled="false"/>
- <Preference android:title="@string/pref_key_title"
- android:key="openpgp_key_id_pref" />
- </PreferenceCategory>
+ <PreferenceCategory android:title="@string/pref_crypto_title">
+ <org.openintents.openpgp.util.OpenPgpAppPreference
+ android:key="openpgp_provider_list"
+ android:title="@string/pref_provider_title" />
+ <org.openintents.openpgp.util.OpenPgpKeyPreference
+ android:enabled="false"
+ android:key="openpgp_key"
+ android:title="Select key" />
+ <Preference
+ android:key="openpgp_key_id_pref"
+ android:title="@string/pref_key_title" />
+ </PreferenceCategory>
- <PreferenceCategory android:title="@string/pref_general_title">
- <EditTextPreference android:title="@string/pref_password_title"
- android:dialogTitle="@string/pref_password_dialog_title"
- android:summary="@string/pref_password_dialog_title"
- android:defaultValue="45" android:key="general_show_time"
- android:inputType="number" />
- <CheckBoxPreference android:title="@string/pref_copy_title"
- android:dialogTitle="@string/pref_copy_dialog_title"
- android:summary="@string/pref_copy_dialog_title"
- android:key="copy_on_decrypt" android:defaultValue="true" />
- <CheckBoxPreference android:title="@string/pref_recursive_filter"
- android:summary="@string/pref_recursive_filter_hint"
- android:key="filter_recursively" android:defaultValue="true"/>
- </PreferenceCategory>
+ <PreferenceCategory android:title="@string/pref_general_title">
+ <EditTextPreference
+ android:defaultValue="45"
+ android:dialogTitle="@string/pref_password_dialog_title"
+ android:inputType="number"
+ android:key="general_show_time"
+ android:summary="@string/pref_password_dialog_title"
+ android:title="@string/pref_password_title" />
+ <CheckBoxPreference
+ android:defaultValue="true"
+ android:title="@string/show_password_pref_title"
+ android:summary="@string/show_password_pref_summary"
+ android:key="show_password" />
+ <CheckBoxPreference
+ android:defaultValue="true"
+ android:dialogTitle="@string/pref_copy_dialog_title"
+ android:key="copy_on_decrypt"
+ android:summary="@string/pref_copy_dialog_title"
+ android:title="@string/pref_copy_title" />
+ <CheckBoxPreference
+ android:defaultValue="true"
+ android:key="filter_recursively"
+ android:summary="@string/pref_recursive_filter_hint"
+ android:title="@string/pref_recursive_filter" />
+ </PreferenceCategory>
</PreferenceScreen> \ No newline at end of file