summaryrefslogtreecommitdiff
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
parentd6cfbe7c494f30676db782c036b5a5a01b02dc30 (diff)
Add Android res/ directory with new layout.
-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>