summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-04-27 23:24:49 +0200
committerArne Schwabe <arne@rfc2549.org>2012-04-27 23:24:49 +0200
commit6f74ca80d395542ae92e7e9eb97af11aa4c706bd (patch)
tree8506351e5a3e9904c70c881b1d13b2a1d1030383 /res/layout
parenta9bd49391b200d24515f8da54d2e69d589da721a (diff)
it is not getIntent() nor savedState nor other fancy stuff, getArgument() is what I want
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/basic_settings.xml16
-rw-r--r--res/layout/viewconfig.xml11
-rw-r--r--res/layout/vpn_preference_layout.xml2
3 files changed, 27 insertions, 2 deletions
diff --git a/res/layout/basic_settings.xml b/res/layout/basic_settings.xml
index cfe8c6e3..4e6f549f 100644
--- a/res/layout/basic_settings.xml
+++ b/res/layout/basic_settings.xml
@@ -27,6 +27,20 @@
<TextView
style="@style/item"
+ android:text="@string/profilename"
+ android:textAppearance="?android:attr/textAppearanceSmall" />
+
+ <EditText
+ android:id="@+id/profilename"
+ style="@style/item"
+ android:inputType="text"
+ />
+
+
+
+
+ <TextView
+ style="@style/item"
android:text="@string/address"
android:textAppearance="?android:attr/textAppearanceSmall" />
@@ -38,7 +52,7 @@
<!-- <requestFocus /> -->
</EditText>
-
+
<TextView
style="@style/item"
android:text="@string/port"
diff --git a/res/layout/viewconfig.xml b/res/layout/viewconfig.xml
new file mode 100644
index 00000000..5ae34ef0
--- /dev/null
+++ b/res/layout/viewconfig.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <TextView
+ android:id="@+id/configview"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" />
+
+</ScrollView> \ No newline at end of file
diff --git a/res/layout/vpn_preference_layout.xml b/res/layout/vpn_preference_layout.xml
index 15fc91ab..fbb18115 100644
--- a/res/layout/vpn_preference_layout.xml
+++ b/res/layout/vpn_preference_layout.xml
@@ -22,7 +22,7 @@
android:minHeight="?android:attr/listPreferredItemHeight" >
<LinearLayout
- android:id="@+id/inputmethod_pref"
+ android:id="@+id/vpnconfig_pref"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"