summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/MainActivity.java
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
commit58e2574f6a27930679f976278ad9c3dbc8d4ef2a (patch)
treeed66e30a6d1acf1fcb68672cb636507e0bd89d2a /src/de/blinkt/openvpn/MainActivity.java
parent488a41cc60636298581c2b44b4706b259fc98a36 (diff)
Doing progress on the Preference dialog chaos
Diffstat (limited to 'src/de/blinkt/openvpn/MainActivity.java')
-rw-r--r--src/de/blinkt/openvpn/MainActivity.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/de/blinkt/openvpn/MainActivity.java b/src/de/blinkt/openvpn/MainActivity.java
new file mode 100644
index 00000000..bc823745
--- /dev/null
+++ b/src/de/blinkt/openvpn/MainActivity.java
@@ -0,0 +1,13 @@
+package de.blinkt.openvpn;
+
+import java.util.List;
+
+import android.preference.PreferenceActivity;
+import android.preference.PreferenceActivity.Header;
+
+public class MainActivity extends PreferenceActivity {
+ @Override
+ public void onBuildHeaders(List<Header> target) {
+ loadHeadersFromResource(R.xml.main_headers, target);
+ }
+}