aboutsummaryrefslogtreecommitdiffstats
path: root/org_apg/res/xml/apg_preferences.xml
diff options
context:
space:
mode:
Diffstat (limited to 'org_apg/res/xml/apg_preferences.xml')
-rw-r--r--org_apg/res/xml/apg_preferences.xml70
1 files changed, 70 insertions, 0 deletions
diff --git a/org_apg/res/xml/apg_preferences.xml b/org_apg/res/xml/apg_preferences.xml
new file mode 100644
index 000000000..7c0dd2206
--- /dev/null
+++ b/org_apg/res/xml/apg_preferences.xml
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <PreferenceCategory android:title="@string/section_general" >
+ <ListPreference
+ android:dialogTitle="@string/label_language"
+ android:entries="@array/language_entries"
+ android:entryValues="@array/language_values"
+ android:key="language"
+ android:title="@string/label_language" />
+
+ <org.apg.ui.widget.IntegerListPreference
+ android:entries="@array/pass_phrase_cache_ttl_entries"
+ android:entryValues="@array/pass_phrase_cache_ttl_values"
+ android:key="passPhraseCacheTtl"
+ android:persistent="false"
+ android:title="@string/label_passPhraseCacheTtl" />
+
+ <PreferenceScreen
+ android:key="keyServers"
+ android:persistent="false"
+ android:title="@string/label_keyServers" />
+ </PreferenceCategory>
+ <PreferenceCategory android:title="@string/section_defaults" >
+ <org.apg.ui.widget.IntegerListPreference
+ android:key="defaultEncryptionAlgorithm"
+ android:persistent="false"
+ android:title="@string/label_encryptionAlgorithm" />
+ <org.apg.ui.widget.IntegerListPreference
+ android:key="defaultHashAlgorithm"
+ android:persistent="false"
+ android:title="@string/label_hashAlgorithm" />
+ <org.apg.ui.widget.IntegerListPreference
+ android:key="defaultMessageCompression"
+ android:persistent="false"
+ android:title="@string/label_messageCompression" />
+ <org.apg.ui.widget.IntegerListPreference
+ android:key="defaultFileCompression"
+ android:persistent="false"
+ android:title="@string/label_fileCompression" />
+
+ <CheckBoxPreference
+ android:key="defaultAsciiArmour"
+ android:persistent="false"
+ android:title="@string/label_asciiArmour" />
+ </PreferenceCategory>
+ <PreferenceCategory android:title="@string/section_advanced" >
+ <CheckBoxPreference
+ android:key="forceV3Signatures"
+ android:persistent="false"
+ android:title="@string/label_forceV3Signature" />
+ </PreferenceCategory>
+
+</PreferenceScreen> \ No newline at end of file