summaryrefslogtreecommitdiff
path: root/main/src/main/res/xml/vpn_authentification.xml
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/main/res/xml/vpn_authentification.xml')
-rw-r--r--main/src/main/res/xml/vpn_authentification.xml37
1 files changed, 18 insertions, 19 deletions
diff --git a/main/src/main/res/xml/vpn_authentification.xml b/main/src/main/res/xml/vpn_authentification.xml
index cea54b8f..d2f6ad25 100644
--- a/main/src/main/res/xml/vpn_authentification.xml
+++ b/main/src/main/res/xml/vpn_authentification.xml
@@ -1,26 +1,25 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
+<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2012-2014 Arne Schwabe
~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
-->
-<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+ <PreferenceCategory android:title="@string/tls_settings">
+ <CheckBoxPreference
+ android:key="remoteServerTLS"
+ android:summary="@string/check_remote_tlscert"
+ android:title="@string/check_remote_tlscert_title" />
+ <CheckBoxPreference
+ android:key="checkRemoteCN"
+ android:summary="@string/remote_tlscn_check_summary"
+ android:title="@string/remote_tlscn_check_title" />
- <CheckBoxPreference
- android:key="remoteServerTLS"
- android:summary="@string/check_remote_tlscert"
- android:title="@string/check_remote_tlscert_title" />
- <CheckBoxPreference
- android:key="checkRemoteCN"
- android:summary="@string/remote_tlscn_check_summary"
- android:title="@string/remote_tlscn_check_title" />
-
- <de.blinkt.openvpn.views.RemoteCNPreference
- android:dependency="checkRemoteCN"
- android:key="remotecn"
- android:title="@string/enter_tlscn_title" />
-
- <PreferenceCategory android:title="@string/tls_authentication" >
+ <de.blinkt.openvpn.views.RemoteCNPreference
+ android:dependency="checkRemoteCN"
+ android:key="remotecn"
+ android:title="@string/enter_tlscn_title" />
+ </PreferenceCategory>
+ <PreferenceCategory android:title="@string/tls_authentication">
<SwitchPreference
android:key="useTLSAuth"
android:summary="@string/tls_key_auth"
@@ -39,7 +38,7 @@
android:persistent="false"
android:title="@string/tls_direction" />
</PreferenceCategory>
- <PreferenceCategory android:title="@string/encryption" >
+ <PreferenceCategory android:title="@string/encryption">
<EditTextPreference
android:dialogMessage="@string/chipher_dialog_message"
android:dialogTitle="@string/cipher_dialog_title"