diff options
author | Adithya Abraham Philip <adithyaphilip@gmail.com> | 2015-06-05 05:39:12 +0530 |
---|---|---|
committer | Adithya Abraham Philip <adithyaphilip@gmail.com> | 2015-07-03 20:46:14 +0530 |
commit | d07fe5bb87b3a68e20484042d3c15fba3c6ccc86 (patch) | |
tree | fdf12ead85a50f630c914bfe5614312c96a7c77c /OpenKeychain/src/main/res/xml/proxy_prefs.xml | |
parent | 0faf69e91fa5ccf3ba14267c5e2e6414e7be0324 (diff) | |
download | open-keychain-d07fe5bb87b3a68e20484042d3c15fba3c6ccc86.tar.gz open-keychain-d07fe5bb87b3a68e20484042d3c15fba3c6ccc86.tar.bz2 open-keychain-d07fe5bb87b3a68e20484042d3c15fba3c6ccc86.zip |
added proxy/tor preferences
Diffstat (limited to 'OpenKeychain/src/main/res/xml/proxy_prefs.xml')
-rw-r--r-- | OpenKeychain/src/main/res/xml/proxy_prefs.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/xml/proxy_prefs.xml b/OpenKeychain/src/main/res/xml/proxy_prefs.xml new file mode 100644 index 000000000..e77ac6d71 --- /dev/null +++ b/OpenKeychain/src/main/res/xml/proxy_prefs.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> + <CheckBoxPreference + android:key="useTorProxy" + android:persistent="true" + android:title="@string/pref_proxy_tor" + android:summary="@string/pref_proxy_tor_summary" /> + <CheckBoxPreference + android:key="useNormalProxy" + android:persistent="true" + android:title="@string/pref_proxy_normal" /> + <EditTextPreference + android:key="proxyHost" + android:persistent="true" + android:defaultValue="127.0.0.1" + android:title="@string/pref_proxy_host" + 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" + android:textCursorDrawable="@null" + android:inputType="number" /> +</PreferenceScreen> |