aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/xml
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2015-08-03 15:13:08 +0200
committerDominik Schürmann <dominik@dominikschuermann.de>2015-08-03 15:13:08 +0200
commit974b7c37d437f327f8cca3c535c6db289b9b8557 (patch)
treeb399f851d5d8f7cd0c1a38a08c9a5da8cd1b17e9 /OpenKeychain/src/main/res/xml
parent7474268eadfdbc64fc59dc9613e115e73ec58c4e (diff)
downloadopen-keychain-974b7c37d437f327f8cca3c535c6db289b9b8557.tar.gz
open-keychain-974b7c37d437f327f8cca3c535c6db289b9b8557.tar.bz2
open-keychain-974b7c37d437f327f8cca3c535c6db289b9b8557.zip
Add privacy information to account screen
Diffstat (limited to 'OpenKeychain/src/main/res/xml')
-rw-r--r--OpenKeychain/src/main/res/xml/account_desc.xml1
-rw-r--r--OpenKeychain/src/main/res/xml/account_preferences.xml10
2 files changed, 11 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/xml/account_desc.xml b/OpenKeychain/src/main/res/xml/account_desc.xml
index 6d8d76b02..e04160c5c 100644
--- a/OpenKeychain/src/main/res/xml/account_desc.xml
+++ b/OpenKeychain/src/main/res/xml/account_desc.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android"
+ android:accountPreferences="@xml/account_preferences"
android:accountType="@string/account_type"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" />
diff --git a/OpenKeychain/src/main/res/xml/account_preferences.xml b/OpenKeychain/src/main/res/xml/account_preferences.xml
new file mode 100644
index 000000000..3fdb54f1e
--- /dev/null
+++ b/OpenKeychain/src/main/res/xml/account_preferences.xml
@@ -0,0 +1,10 @@
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <PreferenceCategory android:title="@string/account_privacy_title" />
+
+ <Preference
+ android:persistent="false"
+ android:selectable="false"
+ android:summary="@string/account_privacy_text" />
+
+</PreferenceScreen> \ No newline at end of file