diff options
author | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-01-26 18:18:24 +0100 |
---|---|---|
committer | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-01-26 18:18:24 +0100 |
commit | 2cdf284f7efabfe66dd6f72c80cba8323283ee6e (patch) | |
tree | 19a23709f9ab9d26e9c7c999c145c2cc610c2c1d | |
parent | d6cfbe7c494f30676db782c036b5a5a01b02dc30 (diff) |
Add Android res/ directory with new layout.
-rw-r--r-- | same-android/res/drawable-hdpi/icon.png | bin | 0 -> 6094 bytes | |||
-rw-r--r-- | same-android/res/drawable-ldpi/icon.png | bin | 0 -> 2750 bytes | |||
-rw-r--r-- | same-android/res/drawable-mdpi/icon.png | bin | 0 -> 3720 bytes | |||
-rw-r--r-- | same-android/res/layout/main.xml | 22 | ||||
-rw-r--r-- | same-android/res/values/strings.xml | 5 |
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 Binary files differnew file mode 100644 index 0000000..afc1a0e --- /dev/null +++ b/same-android/res/drawable-hdpi/icon.png diff --git a/same-android/res/drawable-ldpi/icon.png b/same-android/res/drawable-ldpi/icon.png Binary files differnew file mode 100644 index 0000000..5a89924 --- /dev/null +++ b/same-android/res/drawable-ldpi/icon.png diff --git a/same-android/res/drawable-mdpi/icon.png b/same-android/res/drawable-mdpi/icon.png Binary files differnew file mode 100644 index 0000000..7e079bb --- /dev/null +++ b/same-android/res/drawable-mdpi/icon.png 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> |