aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/xml/proxy_preferences.xml
blob: fbb83eb12677aa08c7a377a16694c129bb218260 (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
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
    <SwitchPreference
            android:key="useTorProxy"
            android:persistent="true"
            android:title="@string/pref_proxy_tor_title"
            android:summary="@string/pref_proxy_tor_summary" />
    <SwitchPreference
            android:key="useNormalProxy"
            android:persistent="true"
            android:title="@string/pref_proxy_normal_title" />
    <EditTextPreference
        android:key="proxyHost"
        android:persistent="true"
        android:defaultValue="127.0.0.1"
        android:title="@string/pref_proxy_host_title"
        android:cursorVisible="true"
        android:textCursorDrawable="@null"
        android:inputType="textEmailAddress"/>
    <EditTextPreference
            android:key="proxyPort"
            android:defaultValue="8118"
            android:persistent="true"
            android:title="@string/pref_proxy_port_title"
            android:textCursorDrawable="@null"
            android:inputType="number" />
    <ListPreference
            android:entries="@array/pref_proxy_type_entries"
            android:entryValues="@array/pref_proxy_type_values"
            android:defaultValue="proxyHttp"
            android:key="proxyType"
            android:persistent="true"
            android:title="@string/pref_proxy_type_title" />
</PreferenceScreen>