summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-04-16 19:21:14 +0200
committerArne Schwabe <arne@rfc2549.org>2012-04-16 19:21:14 +0200
commit3e4d8f433239c40311037616b1b8833a06651ae0 (patch)
tree98ab7fce0d011d34677b0beb762d389cb5c39199 /res
Initial import
Diffstat (limited to 'res')
-rw-r--r--res/drawable/file.pngbin0 -> 571 bytes
-rw-r--r--res/drawable/folder.pngbin0 -> 392 bytes
-rw-r--r--res/drawable/icon.pngbin0 -> 4780 bytes
-rw-r--r--res/drawable/openvpnlogo.pngbin0 -> 6484 bytes
-rw-r--r--res/layout/about.xml89
-rw-r--r--res/layout/config.xml219
-rw-r--r--res/layout/file_dialog_main.xml66
-rw-r--r--res/layout/file_dialog_row.xml27
-rw-r--r--res/layout/file_select.xml55
-rw-r--r--res/layout/keystore_selector.xml55
-rw-r--r--res/layout/log_entry.xml7
-rw-r--r--res/values-de/arrays.xml17
-rw-r--r--res/values-de/strings.xml38
-rw-r--r--res/values/arrays.xml16
-rw-r--r--res/values/attrs.xml8
-rw-r--r--res/values/colors.xml6
-rw-r--r--res/values/strings.xml87
-rw-r--r--res/values/styles.xml35
18 files changed, 725 insertions, 0 deletions
diff --git a/res/drawable/file.png b/res/drawable/file.png
new file mode 100644
index 0000000..fa45699
--- /dev/null
+++ b/res/drawable/file.png
Binary files differ
diff --git a/res/drawable/folder.png b/res/drawable/folder.png
new file mode 100644
index 0000000..0108ed9
--- /dev/null
+++ b/res/drawable/folder.png
Binary files differ
diff --git a/res/drawable/icon.png b/res/drawable/icon.png
new file mode 100644
index 0000000..15a39da
--- /dev/null
+++ b/res/drawable/icon.png
Binary files differ
diff --git a/res/drawable/openvpnlogo.png b/res/drawable/openvpnlogo.png
new file mode 100644
index 0000000..74afd1d
--- /dev/null
+++ b/res/drawable/openvpnlogo.png
Binary files differ
diff --git a/res/layout/about.xml b/res/layout/about.xml
new file mode 100644
index 0000000..ba16627
--- /dev/null
+++ b/res/layout/about.xml
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical" >
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/copyright_blinktgui" />
+
+ <Space
+ android:layout_width="match_parent"
+ android:layout_height="20sp" />
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/copyright_others" />
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/openvpn"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+ <!--
+ ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:contentDescription="@string/openvpn_logo_descr"
+ android:src="@drawable/openvpnLogo" />
+ -->
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/opevpn_copyright" />
+
+ <Space
+ android:layout_width="match_parent"
+ android:layout_height="20sp" />
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/file_dialog"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/copyright_file_dialog" />
+
+ <Space
+ android:layout_width="match_parent"
+ android:layout_height="20sp" />
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/lzo"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/lzo_copyright" />
+
+ <Space
+ android:layout_width="match_parent"
+ android:layout_height="20sp" />
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/openssl"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/copyright_openssl" />
+ </LinearLayout>
+
+</ScrollView> \ No newline at end of file
diff --git a/res/layout/config.xml b/res/layout/config.xml
new file mode 100644
index 0000000..e2ea8aa
--- /dev/null
+++ b/res/layout/config.xml
@@ -0,0 +1,219 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2011 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:blinkt="http://schemas.android.com/apk/res/de.blinkt.openvpn"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:padding="3mm" >
+
+ <TextView
+ style="@style/item"
+ android:text="@string/address"
+ android:textAppearance="?android:attr/textAppearanceSmall" />
+
+ <EditText
+ android:id="@+id/address"
+ style="@style/item"
+ android:inputType="text"
+ android:text="@string/defaultserver" >
+
+ <!-- <requestFocus /> -->
+ </EditText>
+
+ <TextView
+ style="@style/item"
+ android:text="@string/port"
+ android:textAppearance="?android:attr/textAppearanceSmall" />
+
+ <RelativeLayout
+ android:id="@+id/relativeLayout1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="8dip"
+ android:layout_marginRight="8dip" >
+
+ <EditText
+ android:id="@+id/port"
+ style="@style/item"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true"
+ android:inputType="number"
+ android:text="@string/defaultport" />
+
+ <ToggleButton
+ android:id="@+id/tcpudp"
+ style="@style/accountSetupButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_alignParentTop="true"
+ android:textOff="TCP"
+ android:textOn="UDP" />
+ </RelativeLayout>
+
+ <CheckBox
+ android:id="@+id/lzo"
+ style="@style/item"
+ android:text="@string/useLZO" />
+
+ <TextView
+ style="@style/item"
+ android:text="@string/vpn_type"
+ android:textAppearance="?android:attr/textAppearanceSmall" />
+
+ <Spinner
+ android:id="@+id/type"
+ style="@style/item"
+ android:entries="@array/vpn_types"
+ android:prompt="@string/vpn_type" />
+
+ <LinearLayout
+ android:id="@+id/keystore"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:visibility="gone" >
+
+ <include layout="@layout/keystore_selector" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/certs"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:visibility="gone" >
+
+ <de.blinkt.openvpn.FileSelectLayout
+ android:id="@+id/caselect"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ blinkt:title="@string/ca_title" />
+
+ <de.blinkt.openvpn.FileSelectLayout
+ android:id="@+id/certselect"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ blinkt:title="@string/client_certificate_title" />
+
+ <de.blinkt.openvpn.FileSelectLayout
+ android:id="@+id/keyselect"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ blinkt:title="@string/client_key_title" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/pkcs12"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:visibility="gone" >
+
+ <de.blinkt.openvpn.FileSelectLayout
+ android:id="@+id/pkcs12select"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ blinkt:title="@string/client_pkcs12_title" />
+
+ <TextView
+ style="@style/item"
+ android:layout_marginLeft="8dip"
+ android:layout_marginRight="8dip"
+ android:text="@string/pkcs12pwquery"
+ android:textAppearance="?android:attr/textAppearanceSmall" />
+
+ <EditText
+ android:id="@+id/pkcs12password"
+ style="@style/item"
+ android:layout_marginLeft="8dip"
+ android:layout_marginRight="8dip"
+ android:inputType="textPassword" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/commonsecret"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:visibility="gone" >
+ </LinearLayout>
+
+ <CheckBox
+ android:id="@+id/show_advanced"
+ style="@style/item"
+ android:text="@string/show_advanced" />
+
+ <LinearLayout
+ android:id="@+id/advanced_options"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:visibility="gone" >
+
+ <CheckBox
+ android:id="@+id/useTLSAuth"
+ style="@style/item"
+ android:text="@string/useTLSAuth" />
+
+ <LinearLayout
+ android:id="@+id/tlsauth_options"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:visibility="gone"
+ android:layout_marginLeft="20sp" >
+
+ <de.blinkt.openvpn.FileSelectLayout
+ android:id="@+id/tlsAuth"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ blinkt:title="@string/tlsauth" />
+
+ <TextView
+ style="@style/item"
+ android:text="@string/tls_direction"
+ android:textAppearance="?android:attr/textAppearanceSmall" />
+
+
+ <Spinner
+ android:id="@+id/tls_direction"
+ style="@style/item"
+ android:entries="@array/tls_directions"
+ android:prompt="@string/tls_direction" />
+ </LinearLayout>
+ </LinearLayout>
+
+ <Button
+ android:id="@+id/connect"
+ style="@style/item"
+ android:text="@string/connect" />
+
+ <Button
+ android:id="@+id/about"
+ style="@style/item"
+ android:text="@string/about" />
+ </LinearLayout>
+
+</ScrollView> \ No newline at end of file
diff --git a/res/layout/file_dialog_main.xml b/res/layout/file_dialog_main.xml
new file mode 100644
index 0000000..c803522
--- /dev/null
+++ b/res/layout/file_dialog_main.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout android:id="@+id/relativeLayout01"
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical" android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+
+ <LinearLayout android:id="@+id/fdLinearLayoutList"
+ android:orientation="vertical" android:layout_width="fill_parent"
+ android:layout_height="wrap_content" android:layout_alignParentBottom="true">
+
+ <LinearLayout android:id="@+id/fdLinearLayoutSelect"
+ android:orientation="vertical" android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true" android:paddingLeft="10dp"
+ android:paddingRight="10dp" android:paddingBottom="5dp">
+
+ <LinearLayout android:orientation="horizontal"
+ android:layout_width="fill_parent" android:layout_height="fill_parent">
+ <Button android:id="@+id/fdButtonNew" android:layout_height="wrap_content"
+ android:layout_width="0dip" android:layout_weight=".3"
+ android:text="@string/nnew"></Button>
+ <Button android:id="@+id/fdButtonSelect" android:layout_height="wrap_content"
+ android:layout_width="0dip" android:layout_weight=".7"
+ android:text="@string/select"></Button>
+ </LinearLayout>
+ </LinearLayout>
+
+ <LinearLayout android:id="@+id/fdLinearLayoutCreate"
+ android:orientation="vertical" android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true" android:paddingLeft="10dp"
+ android:paddingRight="10dp" android:paddingBottom="5dp">
+ <TextView android:id="@+id/textViewFilename" android:text="@string/file_name"
+ android:layout_width="fill_parent" android:layout_height="wrap_content" />
+ <EditText android:text="" android:id="@+id/fdEditTextFile"
+ android:layout_width="fill_parent" android:layout_height="wrap_content"></EditText>
+
+ <LinearLayout android:orientation="horizontal"
+ android:layout_width="fill_parent" android:layout_height="fill_parent">
+ <Button android:id="@+id/fdButtonCancel" android:layout_height="wrap_content"
+ android:layout_width="0dip" android:layout_weight=".3"
+ android:text="@string/cancel"></Button>
+ <Button android:id="@+id/fdButtonCreate" android:layout_height="wrap_content"
+ android:layout_width="0dip" android:layout_weight=".7"
+ android:text="@string/create"></Button>
+ </LinearLayout>
+ </LinearLayout>
+
+ </LinearLayout>
+
+ <LinearLayout android:orientation="vertical"
+ android:layout_width="fill_parent" android:layout_height="fill_parent"
+ android:layout_above="@+id/fdLinearLayoutList">
+ <TextView android:id="@+id/path" android:layout_width="fill_parent"
+ android:layout_height="wrap_content" />
+ <ListView android:id="@android:id/list" android:layout_width="fill_parent"
+ android:layout_height="fill_parent" />
+ <TextView android:id="@android:id/empty"
+ android:layout_width="fill_parent" android:layout_height="fill_parent"
+ android:text="@string/no_data" />
+ </LinearLayout>
+
+
+
+
+</RelativeLayout>
diff --git a/res/layout/file_dialog_row.xml b/res/layout/file_dialog_row.xml
new file mode 100644
index 0000000..4dd8eca
--- /dev/null
+++ b/res/layout/file_dialog_row.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" >
+
+ <ImageView
+ android:id="@+id/fdrowimage"
+ android:layout_width="wrap_content"
+ android:layout_height="35dp"
+ android:layout_alignParentLeft="true"
+ android:contentDescription="@string/filetypeicon"
+ android:paddingLeft="3dp"
+ android:paddingRight="5dp" />
+
+ <TextView
+ android:id="@+id/fdrowtext"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignBottom="@+id/fdrowimage"
+ android:layout_alignTop="@+id/fdrowimage"
+ android:layout_toRightOf="@+id/fdrowimage"
+ android:gravity="center_vertical"
+ android:text="@+id/fdrowtext"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+
+</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/file_select.xml b/res/layout/file_select.xml
new file mode 100644
index 0000000..0dd1abb
--- /dev/null
+++ b/res/layout/file_select.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2011 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- A layout to select a certificate, akin to a file selector on web pages. -->
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="8dip"
+ android:gravity="center_vertical" >
+
+ <Button
+ android:id="@+id/file_select_button"
+ style="@style/accountSetupButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:text="@string/file_select" />
+
+ <TextView
+ android:id="@+id/file_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true"
+ android:layout_toLeftOf="@+id/file_select_button"
+ android:text="@string/client_certificate_title"
+ android:textStyle="bold" />
+
+ <TextView
+ android:id="@+id/file_selected_item"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_below="@+id/file_title"
+ android:layout_marginLeft="16dip"
+ android:layout_toLeftOf="@+id/file_select_button"
+ android:ellipsize="end"
+ android:singleLine="true"
+ android:text="@string/file_nothing_selected" />
+</RelativeLayout>
+
diff --git a/res/layout/keystore_selector.xml b/res/layout/keystore_selector.xml
new file mode 100644
index 0000000..2194510
--- /dev/null
+++ b/res/layout/keystore_selector.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2011 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- A layout to select a certificate, akin to a file selector on web pages. -->
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="8dip"
+ android:gravity="center_vertical" >
+
+ <Button
+ android:id="@+id/select_keystore_button"
+ style="@style/accountSetupButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:text="@string/select_certificate" />
+
+ <TextView
+ android:id="@+id/title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true"
+ android:layout_toLeftOf="@+id/select_keystore_button"
+ android:textStyle="bold" />
+
+ <TextView
+ android:id="@+id/aliasname"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_below="@+id/title"
+ android:layout_marginLeft="16dip"
+ android:layout_toLeftOf="@+id/select_keystore_button"
+ android:ellipsize="end"
+ android:singleLine="true"
+ android:text="@string/no_certificate" />
+ <!-- android:textColor="@color/text_secondary_color" -->
+
+</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/log_entry.xml b/res/layout/log_entry.xml
new file mode 100644
index 0000000..5e20447
--- /dev/null
+++ b/res/layout/log_entry.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<TextView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:padding="0dp"
+ android:textSize="12sp" >
+</TextView> \ No newline at end of file
diff --git a/res/values-de/arrays.xml b/res/values-de/arrays.xml
new file mode 100644
index 0000000..4c09d9e
--- /dev/null
+++ b/res/values-de/arrays.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string-array name="vpn_types">
+ <item>Zertifikate</item>
+ <item>PKCS12 Datei</item>
+ <item>Android Keystore </item>
+ <!-- <item>Shared Secret</item> -->
+ </string-array>
+
+ <string-array name="tls_directions">
+ <item>0</item>
+ <item>1</item>
+ <item>Nicht spezifiziert</item>
+ </string-array>
+
+
+</resources> \ No newline at end of file
diff --git a/res/values-de/strings.xml b/res/values-de/strings.xml
new file mode 100644
index 0000000..4215b60
--- /dev/null
+++ b/res/values-de/strings.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string name="app">OpenVPN für Android</string>
+
+ <string name="address">Server:</string>
+ <string name="port">Server Port:</string>
+ <string name="connect">Verbinden</string>
+
+ <string name="connecting">starte Verbindung…</string>
+
+ <string name="selectCertificate">Auswählen…</string>
+
+ <string name="app_name">File dialog</string>
+ <string name="location">Ort</string>
+ <string name="cant_read_folder">Verzeichnis kann nicht gelsen werden</string>
+ <string name="nnew">Neu</string>
+ <string name="select">Auswählen</string>
+ <string name="file_name">Dateiname:</string>
+ <string name="cancel">Abbrechen</string>
+ <string name="create">Speichern</string>
+ <string name="no_data">Kein Daten</string>
+ <string name="err">Fehler</string>
+ <string name="usercert">Clientzertifikat</string>
+ <string name="useLZO">LZO Komprimierung</string>
+ <string name="client_no_certificate">Kein Zertifikat</string>
+ <string name="client_certificate_title">Clientzertifikat</string>
+ <string name="client_key_title">Clientzertifikatsschlüssel</string>
+ <string name="ca_title">CA Zertifikat</string>
+ <string name="select_certificate">Auswählen</string>
+ <string name="no_certificate">Nichts ausgwählt</string>
+ <string name="about">Über</string>
+ <string name="vpn_type">Typ</string>
+ <string name="pkcs12pwquery">PKCS12 Passwort</string>
+ <string name="tlsauth">TLS Authentifizierung</string>
+ <string name="show_advanced">Erweiterte Einstellungen</string>
+ <string name="useTLSAuth">Benutze TLS Authentifizierung</string>
+
+</resources> \ No newline at end of file
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
new file mode 100644
index 0000000..52e3afd
--- /dev/null
+++ b/res/values/arrays.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string-array name="vpn_types">
+ <item>Certificates</item>
+ <item>PKCS12 File</item>
+ <item>Android Certficate</item>
+ </string-array>
+
+ <string-array name="tls_directions">
+ <item>0</item>
+ <item>1</item>
+ <item>Unspecified</item>
+ </string-array>
+
+
+</resources> \ No newline at end of file
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
new file mode 100644
index 0000000..cb503b8
--- /dev/null
+++ b/res/values/attrs.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<resources>
+ <declare-styleable name="FileSelectLayout">
+ <attr name="title" format="string|reference" />
+<!-- <attr name="taskid" format="integer" /> -->
+ </declare-styleable>
+</resources> \ No newline at end of file
diff --git a/res/values/colors.xml b/res/values/colors.xml
new file mode 100644
index 0000000..f22e054
--- /dev/null
+++ b/res/values/colors.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <color name="text_secondary_color">#666666</color>
+ <color name="text_primary_color">#000000</color>
+
+</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
new file mode 100644
index 0000000..4e191d8
--- /dev/null
+++ b/res/values/strings.xml
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2011 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<resources>
+ <string name="app">OpenVPN for Android</string>
+
+ <string name="address">Server Address:</string>
+ <string name="port">Server Port:</string>
+ <string name="secret">Shared Secret:</string>
+ <string name="connect">Connect!</string>
+
+ <string name="connecting">OpenVPN is connecting…</string>
+ <string name="connected">OpenVPN is connected!</string>
+ <string name="disconnected">OpenVPN is disconnected!</string>
+
+ <string name="defaultserver">openvpn.uni-paderborn.de</string>
+ <string name="defaultport">1194</string>
+
+
+ <string name="app_name">File dialog</string>
+ <string name="location">Location</string>
+ <string name="cant_read_folder">folder can\'t be read!</string>
+ <string name="nnew">New</string>
+ <string name="select">Select</string>
+ <string name="file_name">File name:</string>
+ <string name="cancel">Cancel</string>
+ <string name="create">Save</string>
+ <string name="no_data">No Data</string>
+ <color name="gray">#ffff0000</color>
+ <string name="err">Error</string>
+ <string name="usercert">User Certificate</string>
+ <string name="useLZO">LZO Compression</string>
+ <string name="client_no_certificate">No Certificate</string>
+ <string name="client_certificate_title">Client Certificate</string>
+ <string name="client_key_title">Client Certificate Key</string>
+ <string name="client_pkcs12_title">PKCS12 File</string>
+ <string name="ca_title">CA Certificate</string>
+ <string name="select_certificate">Select</string>
+ <string name="no_certificate">Nothing selected</string>
+ <string name="openvpn_logo_descr">Openvpn Logo</string>
+ <string name="opevpn_copyright">Copyright © 2002–2010 OpenVPN Technologies, Inc. &lt;sales@openvpn.net&gt;\n
+
+ "OpenVPN" is a trademark of OpenVPN Technologies, Inc.\n</string>
+ <string name="copyright_blinktgui">Copyright 2012 Arne Schwabe</string>
+ <string name="copyright_others">The program uses the following components. See the source for full details on the licenses</string>
+ <string name="copyright_file_dialog">File Dialog for the Android\nAlexander Ponomarev"</string>
+ <string name="lzo_copyright">Copyright © 1996 – 2011 Markus Franz Xaver Johannes Oberhumer</string>
+ <string name="copyright_openssl">
+ This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit\n
+ Copyright © 1998-2008 The OpenSSL Project. All rights reserved.\n\n
+ This product includes cryptographic software written by Eric Young (eay@cryptsoft.com)\n
+ Copyright © 1995-1998 Eric Young (eay@cryptsoft.com) All rights reserved.</string>
+ <string name="openvpn">OpenVPN</string>
+ <string name="file_dialog">File Dialog</string>
+ <string name="lzo">LZO</string>
+ <string name="openssl">OpenSSL</string>
+ <string name="about">About</string>
+
+ <string name="vpn_type">Type</string>
+ <string name="pkcs12pwquery">PKCS12 Password</string>
+ <string name="filetypeicon">FileTypeIcon</string>
+ <string name="select_keystore">Select…</string>
+ <string name="file_select">Select…</string>
+ <string name="file_nothing_selected">Nothing Selected</string>
+ <string name="tlsauth">TLS Auth</string>
+ <string name="show_advanced">Show advanced settings</string>
+ <string name="useTLSAuth">Use TLS Authentication</string>
+ <string name="tls_direction">TLS Direction</string>
+
+
+
+
+</resources>
diff --git a/res/values/styles.xml b/res/values/styles.xml
new file mode 100644
index 0000000..59010fd
--- /dev/null
+++ b/res/values/styles.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2011 The Android Open Source Project
+ Copyright (C) 2012 Arne Schwabe
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<resources>
+
+ <style name="item">
+ <item name="android:layout_width">match_parent</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
+ <item name="android:singleLine">true</item>
+ </style>
+
+ <style name="accountSetupButton">
+ <item name="android:layout_width">160sp</item>
+ <item name="android:layout_height">40sp</item>
+ <item name="android:textColor">?android:attr/textColorPrimary</item>
+ <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
+ </style>
+
+</resources> \ No newline at end of file