summaryrefslogtreecommitdiff
path: root/res/layout/main.xml
diff options
context:
space:
mode:
authorJoe Robinson <joe@lc8n.com>2010-10-29 00:48:14 +0100
committerJoe Robinson <joe@lc8n.com>2010-10-29 00:48:14 +0100
commit6093815099eb6d6c3d978579ccbdde38fa916f13 (patch)
treed99bd4e993b0e0ffd96dc1be8863512060681b6e /res/layout/main.xml
Untouched work since submission for university project 04/05/2010. Messy code, a bit glitchy.HEADmaster
Diffstat (limited to 'res/layout/main.xml')
-rw-r--r--res/layout/main.xml54
1 files changed, 54 insertions, 0 deletions
diff --git a/res/layout/main.xml b/res/layout/main.xml
new file mode 100644
index 0000000..a2e4f03
--- /dev/null
+++ b/res/layout/main.xml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+ <com.google.android.maps.MapView
+ android:id="@+id/mapview"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:clickable="true"
+ android:apiKey="0ksIJGFhvoENlKbGMqb1qukBrG7bc0k16leprGA"
+ />
+ <LinearLayout
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
+ android:layout_centerHorizontal="true">
+
+ <LinearLayout
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
+ android:layout_centerHorizontal="true">
+
+ <Spinner
+ android:id="@+id/spinner"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:drawSelectorOnTop="true"
+ android:prompt="@string/db_prompt"
+ android:layout_weight="2"
+ />
+ <EditText
+ android:id="@+id/entry"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="2"/>
+ <ImageButton
+ android:id="@+id/ok"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="3"
+ android:src="@drawable/search"/>
+
+ <ImageButton
+ android:id="@+id/camera"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="3"
+ android:src="@drawable/camera"/>
+ </LinearLayout>
+</LinearLayout>
+</RelativeLayout> \ No newline at end of file