diff options
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/apg_preferences.xml | 62 | ||||
-rw-r--r-- | res/xml/searchable_public_keys.xml | 15 | ||||
-rw-r--r-- | res/xml/searchable_secret_keys.xml | 15 |
3 files changed, 92 insertions, 0 deletions
diff --git a/res/xml/apg_preferences.xml b/res/xml/apg_preferences.xml new file mode 100644 index 000000000..7ce9b5344 --- /dev/null +++ b/res/xml/apg_preferences.xml @@ -0,0 +1,62 @@ +<?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"> + + <org.thialfihar.android.apg.IntegerListPreference + android:persistent="false" + android:key="passPhraseCacheTtl" + android:entries="@array/pass_phrase_cache_ttl_entries" + android:entryValues="@array/pass_phrase_cache_ttl_values" + android:title="@string/label_passPhraseCacheTtl" /> + + </PreferenceCategory> + + <PreferenceCategory + android:title="@string/section_defaults"> + + <org.thialfihar.android.apg.IntegerListPreference + android:persistent="false" + android:key="defaultEncryptionAlgorithm" + android:title="@string/label_encryptionAlgorithm" /> + + <org.thialfihar.android.apg.IntegerListPreference + android:persistent="false" + android:key="defaultHashAlgorithm" + android:title="@string/label_hashAlgorithm" /> + + <org.thialfihar.android.apg.IntegerListPreference + android:persistent="false" + android:key="defaultMessageCompression" + android:title="@string/label_messageCompression" /> + + <org.thialfihar.android.apg.IntegerListPreference + android:persistent="false" + android:key="defaultFileCompression" + android:title="@string/label_fileCompression" /> + + <CheckBoxPreference + android:persistent="false" + android:key="defaultAsciiArmour" + android:title="@string/label_asciiArmour" /> + + </PreferenceCategory> + +</PreferenceScreen> diff --git a/res/xml/searchable_public_keys.xml b/res/xml/searchable_public_keys.xml index f8963e997..6bb934fec 100644 --- a/res/xml/searchable_public_keys.xml +++ b/res/xml/searchable_public_keys.xml @@ -1,4 +1,19 @@ <?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. +--> + <searchable xmlns:android="http://schemas.android.com/apk/res/android" android:label="@string/app_name" diff --git a/res/xml/searchable_secret_keys.xml b/res/xml/searchable_secret_keys.xml index 43328df82..e196b4664 100644 --- a/res/xml/searchable_secret_keys.xml +++ b/res/xml/searchable_secret_keys.xml @@ -1,4 +1,19 @@ <?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. +--> + <searchable xmlns:android="http://schemas.android.com/apk/res/android" android:label="@string/app_name" |