summaryrefslogtreecommitdiff
path: root/same-android/res/layout
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-01-26 18:18:24 +0100
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-01-26 18:18:24 +0100
commit2cdf284f7efabfe66dd6f72c80cba8323283ee6e (patch)
tree19a23709f9ab9d26e9c7c999c145c2cc610c2c1d /same-android/res/layout
parentd6cfbe7c494f30676db782c036b5a5a01b02dc30 (diff)
Add Android res/ directory with new layout.
Diffstat (limited to 'same-android/res/layout')
-rw-r--r--same-android/res/layout/main.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/same-android/res/layout/main.xml b/same-android/res/layout/main.xml
new file mode 100644
index 0000000..8a05563
--- /dev/null
+++ b/same-android/res/layout/main.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ >
+
+ <Button
+ android:id="@+id/button1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Create"
+ android:onClick="createNetwork" />
+
+ <Button
+ android:id="@+id/button2"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Join"
+ android:onClick="joinNetwork" />
+
+</LinearLayout>