diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-04-21 18:36:35 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-04-21 18:36:35 +0200 |
commit | 488a41cc60636298581c2b44b4706b259fc98a36 (patch) | |
tree | ba247a01a310ca7b68343e655e0d7b550597de46 /res/xml/vpn_ipsettings.xml | |
parent | 89369d1e8651514ad295b11e6e1f5ee00a402168 (diff) |
wip
Diffstat (limited to 'res/xml/vpn_ipsettings.xml')
-rw-r--r-- | res/xml/vpn_ipsettings.xml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/res/xml/vpn_ipsettings.xml b/res/xml/vpn_ipsettings.xml new file mode 100644 index 00000000..8aacaaca --- /dev/null +++ b/res/xml/vpn_ipsettings.xml @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="utf-8"?> +<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" > + + <SwitchPreference + android:disableDependentsState="true" + android:key="usePull" + android:title="Pull Settings" /> + + <PreferenceCategory android:title="IP" > + <EditTextPreference + android:dependency="usePull" + android:dialogMessage="@string/ipv4_dialog_title" + android:key="ipv4_address" + android:title="@string/ipv4_address" /> + <EditTextPreference + android:dependency="usePull" + android:dialogMessage="@string/ipv6_dialog_tile" + android:key="ipv6_address" + android:title="@string/ipv6_address" /> + </PreferenceCategory> + <PreferenceCategory android:title="DNS" > + <CheckBoxPreference + android:key="overrideDNS" + android:summary="Override DNS Settings by Server" + android:title="Override DNS Settings" /> + + <EditTextPreference + android:key="searchdomain" + android:title="searchDomain" /> + <EditTextPreference + android:key="dns1" + android:title="DNS Server" /> + <EditTextPreference + android:key="dns2" + android:title="Backup DNS Server" /> + </PreferenceCategory> + <PreferenceCategory android:title="Routing" > + <CheckBoxPreference + android:defaultValue="true" + android:dependency="usePull" + android:disableDependentsState="true" + android:key="useDefaultRoute" + android:summary="Redirects all Traffic over the VPN" + android:title="Use default Route" /> + + <EditTextPreference + android:dependency="useDefaultRoute" + android:dialogMessage="Enter custom routes. Only enter destination in CIDR format. "10.0.0.0/8 2002::/16" would direct the networks 10.0.0.0/8 and 2002::/16 over the VPN." + android:key="customRoutes" + android:title="Custom Routes" /> + </PreferenceCategory> + +</PreferenceScreen>
\ No newline at end of file |