diff options
Diffstat (limited to 'OpenKeychain/src/main/res/xml')
-rw-r--r-- | OpenKeychain/src/main/res/xml/account_desc.xml | 1 | ||||
-rw-r--r-- | OpenKeychain/src/main/res/xml/account_preferences.xml | 10 |
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 |