summaryrefslogtreecommitdiff
path: root/res/xml
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-04-23 00:07:02 +0200
committerArne Schwabe <arne@rfc2549.org>2012-04-23 00:07:02 +0200
commitdca67df888680da70235ce402e42e05945f67cb8 (patch)
treeed66e30a6d1acf1fcb68672cb636507e0bd89d2a /res/xml
parent488a41cc60636298581c2b44b4706b259fc98a36 (diff)
Doing progress on the Preference dialog chaos
--HG-- rename : res/layout/config.xml => res/layout/basic_settings.xml rename : src/de/blinkt/openvpn/AboutActivity.java => src/de/blinkt/openvpn/AboutFragment.java
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/main_about.xml5
-rw-r--r--res/xml/main_headers.xml14
-rw-r--r--res/xml/vpn_authentification.xml6
-rw-r--r--res/xml/vpn_headers.xml26
-rw-r--r--res/xml/vpn_overview.xml15
-rw-r--r--res/xml/vpn_profile_list.xml4
6 files changed, 35 insertions, 35 deletions
diff --git a/res/xml/main_about.xml b/res/xml/main_about.xml
new file mode 100644
index 00000000..8e3e28dc
--- /dev/null
+++ b/res/xml/main_about.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
+ <de.blinkt.openvpn.AboutPreference />
+
+</PreferenceScreen> \ No newline at end of file
diff --git a/res/xml/main_headers.xml b/res/xml/main_headers.xml
new file mode 100644
index 00000000..a0c4f432
--- /dev/null
+++ b/res/xml/main_headers.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<preference-headers xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <header
+ android:fragment="de.blinkt.openvpn.VPNProfileList"
+ android:summary="List of all VPN, confusing to be here :)"
+ android:title="All your precious VPNs" />
+ <header
+ android:fragment="de.blinkt.openvpn.AboutFragment"
+ android:summary="About Openvpn for Android"
+ android:title="About" />
+
+
+</preference-headers> \ No newline at end of file
diff --git a/res/xml/vpn_authentification.xml b/res/xml/vpn_authentification.xml
index 11ea3abe..949093d6 100644
--- a/res/xml/vpn_authentification.xml
+++ b/res/xml/vpn_authentification.xml
@@ -3,9 +3,9 @@
<CheckBoxPreference
android:key="remoteServerTLS"
- android:summary="Checks whether the server use a TLS Server Certificate"
+ android:summary="Checks whether the server uses a TLS Server Certificate"
android:title="Except TLS Server" />
- <de.blinkt.openvpn.VPNConfigPreference
- android:title="Whaaaaats UUUUuuuuup?" />
+
+ <CheckBoxPreference android:key="useTLSAuth"/>
</PreferenceScreen> \ No newline at end of file
diff --git a/res/xml/vpn_headers.xml b/res/xml/vpn_headers.xml
index 7d0ade3f..424b4411 100644
--- a/res/xml/vpn_headers.xml
+++ b/res/xml/vpn_headers.xml
@@ -1,23 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<preference-headers xmlns:android="http://schemas.android.com/apk/res/android" >
- <header android:summary="Server, port and authentication method. Normally you should only settings specified here." >
- android:title="Basic Setting"
- <intent
- android:targetClass="de.blinkt.openvpn.OpenVPNClient"
- android:targetPackage="de.binkt.openvpn" />
- </header>
+ <header
+ android:fragment="de.blinkt.openvpn.BasicSettings"
+ android:summary="Server, port and authentication method. Normally you should only settings specified here."
+ android:title="Basic Settings" />
<!-- android:icon="@drawable/ic_settings_applications" -->
+
<header
android:fragment="de.blinkt.openvpn.VPNPreferences$IP_Settings"
android:summary="IP Address and Routing"
android:title="IP Settings" />
-
- <header
+ <header
android:fragment="de.blinkt.openvpn.VPNPreferences$Authentication"
android:summary="Authentication"
android:title="Authentication" />
-
<!-- android:icon="@drawable/ic_settings_display" -->
<header
@@ -33,14 +30,9 @@
android:name="someKey"
android:value="someHeaderValue" />
</header>
-
- <!-- android:icon="@drawable/ic_settings_display" -->
<header
- android:summary="Launches an Intent."
- android:title="Intent" >
- <intent
- android:action="android.intent.action.VIEW"
- android:data="http://www.android.com" />
- </header>
+ android:fragment="de.blinkt.openvpn.ShowConfigFragment"
+ android:summary="Shows the generated openvpn Configuration File"
+ android:title="Generated Config" />
</preference-headers> \ No newline at end of file
diff --git a/res/xml/vpn_overview.xml b/res/xml/vpn_overview.xml
deleted file mode 100644
index 053f2526..00000000
--- a/res/xml/vpn_overview.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
- android:title="@string/vpn_settings_activity_title" >
-
- <PreferenceScreen
- android:key="new_vpn"
- android:title="@string/new_vpn" />
-
- <PreferenceCategory
- android:fragment="de.blinkt.openvpn.VPNList$ListFragment"
- android:key="vpn_list"
- android:title="@string/vpn" >
- </PreferenceCategory>
-
-</PreferenceScreen>
diff --git a/res/xml/vpn_profile_list.xml b/res/xml/vpn_profile_list.xml
new file mode 100644
index 00000000..b1ce1a1a
--- /dev/null
+++ b/res/xml/vpn_profile_list.xml
@@ -0,0 +1,4 @@
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
+ android:key="profiles_list" /> \ No newline at end of file