summaryrefslogtreecommitdiff
path: root/same-android/res
diff options
context:
space:
mode:
Diffstat (limited to 'same-android/res')
-rw-r--r--same-android/res/drawable-hdpi/icon.pngbin0 -> 6094 bytes
-rw-r--r--same-android/res/drawable-ldpi/icon.pngbin0 -> 2750 bytes
-rw-r--r--same-android/res/drawable-mdpi/icon.pngbin0 -> 3720 bytes
-rw-r--r--same-android/res/layout/main.xml22
-rw-r--r--same-android/res/values/strings.xml5
5 files changed, 27 insertions, 0 deletions
diff --git a/same-android/res/drawable-hdpi/icon.png b/same-android/res/drawable-hdpi/icon.png
new file mode 100644
index 0000000..afc1a0e
--- /dev/null
+++ b/same-android/res/drawable-hdpi/icon.png
Binary files differ
diff --git a/same-android/res/drawable-ldpi/icon.png b/same-android/res/drawable-ldpi/icon.png
new file mode 100644
index 0000000..5a89924
--- /dev/null
+++ b/same-android/res/drawable-ldpi/icon.png
Binary files differ
diff --git a/same-android/res/drawable-mdpi/icon.png b/same-android/res/drawable-mdpi/icon.png
new file mode 100644
index 0000000..7e079bb
--- /dev/null
+++ b/same-android/res/drawable-mdpi/icon.png
Binary files differ
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>
diff --git a/same-android/res/values/strings.xml b/same-android/res/values/strings.xml
new file mode 100644
index 0000000..a28d7ae
--- /dev/null
+++ b/same-android/res/values/strings.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string name="hello">Hello master!</string>
+ <string name="app_name">master</string>
+</resources>