summaryrefslogtreecommitdiff
path: root/same-android/res
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-01-27 14:25:48 +0100
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-01-27 14:25:48 +0100
commita1abc25b91760fce29c0bd94f60e1ee592a151cc (patch)
treeb7a5c78cb098b5befb3ebdeca3e249ac43d0b9ba /same-android/res
parent2570d2c6f0be6bb16630b5685063501dd931b4d2 (diff)
Show device IP address.
Diffstat (limited to 'same-android/res')
-rw-r--r--same-android/res/layout/main.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/same-android/res/layout/main.xml b/same-android/res/layout/main.xml
index a286b81..74674df 100644
--- a/same-android/res/layout/main.xml
+++ b/same-android/res/layout/main.xml
@@ -5,6 +5,13 @@
android:layout_height="fill_parent"
>
+ <TextView
+ android:id="@+id/textView1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Commands"
+ android:textAppearance="?android:attr/textAppearanceLarge" />
+
<Button
android:id="@+id/button1"
android:layout_width="match_parent"
@@ -19,4 +26,11 @@
android:onClick="joinNetwork"
android:text="Join" />
+ <TextView
+ android:id="@+id/ipAddress"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text=""
+ android:textAppearance="?android:attr/textAppearanceLarge" />
+
</LinearLayout>