summaryrefslogtreecommitdiff
path: root/same-android/res
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-04-30 12:05:33 +0200
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-04-30 12:05:33 +0200
commit058f9ba7650927d755cf408027dd19f78c92b7c2 (patch)
treef1815ffb75bec6e6d92f1e4566f151ba3caa4f14 /same-android/res
parentd87e94e9765c33ccf49d4743d2e4be94d65a5e76 (diff)
Add "kill master" button.
Diffstat (limited to 'same-android/res')
-rw-r--r--same-android/res/layout/controller.xml14
1 files changed, 7 insertions, 7 deletions
diff --git a/same-android/res/layout/controller.xml b/same-android/res/layout/controller.xml
index 79974ee..1acaa01 100644
--- a/same-android/res/layout/controller.xml
+++ b/same-android/res/layout/controller.xml
@@ -7,12 +7,6 @@
android:focusableInTouchMode="true"
android:id="@+id/container_layout">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Commands"
- android:textAppearance="?android:attr/textAppearanceLarge" />
-
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -41,7 +35,13 @@
android:layout_height="wrap_content"
android:onClick="joinNetworkUrl"
android:text="Join" />
-
+
+ <Button
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:onClick="killMaster"
+ android:text="Kill master" />
+
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"