aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/xml/adv_preferences.xml
blob: 02986bdadce36045eac8be118edc74b3f594c538 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
    <PreferenceCategory android:title="@string/section_defaults">
        <CheckBoxPreference
            android:key="writeVersionHeader"
            android:persistent="false"
            android:title="@string/label_write_version_header"
            android:summary="@string/label_write_version_header_summary" />
        <org.sufficientlysecure.keychain.ui.widget.IntegerListPreference
            android:key="defaultEncryptionAlgorithm"
            android:persistent="false"
            android:title="@string/label_encryption_algorithm" />
        <org.sufficientlysecure.keychain.ui.widget.IntegerListPreference
            android:key="defaultHashAlgorithm"
            android:persistent="false"
            android:title="@string/label_hash_algorithm" />
        <org.sufficientlysecure.keychain.ui.widget.IntegerListPreference
            android:key="defaultMessageCompression"
            android:persistent="false"
            android:title="@string/label_message_compression" />
        <org.sufficientlysecure.keychain.ui.widget.IntegerListPreference
            android:key="defaultFileCompression"
            android:persistent="false"
            android:title="@string/label_file_compression" />
        <CheckBoxPreference
            android:key="defaultAsciiArmor"
            android:persistent="false"
            android:title="@string/label_ascii_armor" />
    </PreferenceCategory>
    <PreferenceCategory android:title="@string/section_passphrase_cache">
        <org.sufficientlysecure.keychain.ui.widget.IntegerListPreference
            android:entries="@array/passphrase_cache_ttl_entries"
            android:entryValues="@array/passphrase_cache_ttl_values"
            android:key="passphraseCacheTtl"
            android:persistent="false"
            android:title="@string/label_passphrase_cache_ttl" />
        <CheckBoxPreference
            android:key="passphraseCacheSubs"
            android:persistent="false"
            android:title="@string/label_passphrase_cache_subs" />
        <CheckBoxPreference
            android:key="useDefaultYubikeyPin"
            android:persistent="false"
            android:defaultValue="true"
            android:title="@string/label_use_default_yubikey_pin"
            android:summary="@string/label_label_use_default_yubikey_pin_summary" />
        <CheckBoxPreference
            android:key="useNumKeypadForYubikeyPin"
            android:persistent="false"
            android:defaultValue="false"
            android:title="@string/label_use_num_keypad_for_yubikey_pin" />
    </PreferenceCategory>
</PreferenceScreen>