summaryrefslogtreecommitdiff
path: root/remoteExample/src/main/res
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2015-03-16 12:55:41 +0100
committerArne Schwabe <arne@rfc2549.org>2015-03-16 12:55:41 +0100
commitd98f6c6ba51ae8810bd2d035fa89f6ca24eba8fd (patch)
treee2a263c9d409cead340a163230eb01f3bc62124c /remoteExample/src/main/res
parentd8a10a7d9f9de6dd86ed382c3eb7a22bbd8cd21e (diff)
Update/cleanup of external API, allow adding of non user editable profiles
--HG-- rename : remoteExample/src/main/assets/hd.conf => remoteExample/src/main/assets/test.conf
Diffstat (limited to 'remoteExample/src/main/res')
-rw-r--r--remoteExample/src/main/res/layout/fragment_main.xml10
-rw-r--r--remoteExample/src/main/res/values/strings.xml1
2 files changed, 11 insertions, 0 deletions
diff --git a/remoteExample/src/main/res/layout/fragment_main.xml b/remoteExample/src/main/res/layout/fragment_main.xml
index e4fa019d..9279bd69 100644
--- a/remoteExample/src/main/res/layout/fragment_main.xml
+++ b/remoteExample/src/main/res/layout/fragment_main.xml
@@ -67,4 +67,14 @@
android:layout_below="@+id/getMyIP"
android:text="@string/start_embedded" />
+ <Button
+ android:id="@+id/addNewProfile"
+ style="?android:attr/buttonStyleSmall"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/addNew"
+ android:layout_alignTop="@+id/startembedded"
+ android:layout_toRightOf="@+id/startembedded"
+ android:layout_toEndOf="@+id/startembedded" />
+
</RelativeLayout>
diff --git a/remoteExample/src/main/res/values/strings.xml b/remoteExample/src/main/res/values/strings.xml
index bbaee226..49d4978d 100644
--- a/remoteExample/src/main/res/values/strings.xml
+++ b/remoteExample/src/main/res/values/strings.xml
@@ -10,6 +10,7 @@
<string name="show_my_ip">Show my IP</string>
<string name="disconnect">Disconnect</string>
<string name="start_embedded">Start embedded profile</string>
+ <string name="addNew">Add new Profile</string>
</resources>