diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable/androidmarker.png | bin | 0 -> 702 bytes | |||
-rw-r--r-- | res/drawable/camera.png | bin | 0 -> 1642 bytes | |||
-rw-r--r-- | res/drawable/icon.png | bin | 0 -> 702 bytes | |||
-rw-r--r-- | res/drawable/icon1.png | bin | 0 -> 2574 bytes | |||
-rw-r--r-- | res/drawable/lolarrow.png | bin | 0 -> 332 bytes | |||
-rw-r--r-- | res/drawable/marker.png | bin | 0 -> 1245 bytes | |||
-rw-r--r-- | res/drawable/markerandroid.png | bin | 0 -> 2239 bytes | |||
-rw-r--r-- | res/drawable/pointer.png | bin | 0 -> 1400 bytes | |||
-rw-r--r-- | res/drawable/search.png | bin | 0 -> 4505 bytes | |||
-rw-r--r-- | res/layout/camera.xml | 62 | ||||
-rw-r--r-- | res/layout/main.xml | 54 | ||||
-rw-r--r-- | res/values/arrays.xml | 8 | ||||
-rw-r--r-- | res/values/strings.xml | 6 |
13 files changed, 130 insertions, 0 deletions
diff --git a/res/drawable/androidmarker.png b/res/drawable/androidmarker.png Binary files differnew file mode 100644 index 0000000..8c43d46 --- /dev/null +++ b/res/drawable/androidmarker.png diff --git a/res/drawable/camera.png b/res/drawable/camera.png Binary files differnew file mode 100644 index 0000000..c0be221 --- /dev/null +++ b/res/drawable/camera.png diff --git a/res/drawable/icon.png b/res/drawable/icon.png Binary files differnew file mode 100644 index 0000000..8c43d46 --- /dev/null +++ b/res/drawable/icon.png diff --git a/res/drawable/icon1.png b/res/drawable/icon1.png Binary files differnew file mode 100644 index 0000000..a07c69f --- /dev/null +++ b/res/drawable/icon1.png diff --git a/res/drawable/lolarrow.png b/res/drawable/lolarrow.png Binary files differnew file mode 100644 index 0000000..6a3f550 --- /dev/null +++ b/res/drawable/lolarrow.png diff --git a/res/drawable/marker.png b/res/drawable/marker.png Binary files differnew file mode 100644 index 0000000..0e9c1f5 --- /dev/null +++ b/res/drawable/marker.png diff --git a/res/drawable/markerandroid.png b/res/drawable/markerandroid.png Binary files differnew file mode 100644 index 0000000..cb05719 --- /dev/null +++ b/res/drawable/markerandroid.png diff --git a/res/drawable/pointer.png b/res/drawable/pointer.png Binary files differnew file mode 100644 index 0000000..3b87c9d --- /dev/null +++ b/res/drawable/pointer.png diff --git a/res/drawable/search.png b/res/drawable/search.png Binary files differnew file mode 100644 index 0000000..e7c17c2 --- /dev/null +++ b/res/drawable/search.png diff --git a/res/layout/camera.xml b/res/layout/camera.xml new file mode 100644 index 0000000..d60c27b --- /dev/null +++ b/res/layout/camera.xml @@ -0,0 +1,62 @@ +<?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.lc8n.android.CustomCameraView + android:id="@+id/camview" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> + <LinearLayout + android:id="@+id/overlay" + android:orientation="horizontal" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_alignParentTop="true" + android:layout_centerHorizontal="true"> + <EditText + android:id="@+id/entry1" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_weight="2"/> + <ImageButton + android:id="@+id/ok1" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_weight="8" + android:src="@drawable/search"/> + </LinearLayout> + <LinearLayout + android:id="@+id/loc" + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" + android:layout_centerHorizontal="true"> + <TextView + android:id="@+id/loc1" + android:text="location" + android:textSize="10pt" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:gravity="center_horizontal" + android:layout_weight="1"/> + <LinearLayout + android:id="@+id/seek" + android:orientation="horizontal" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_alignParentBottom="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="8" + /> + + + </LinearLayout> + </LinearLayout> +</RelativeLayout>
\ No newline at end of file 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 diff --git a/res/values/arrays.xml b/res/values/arrays.xml new file mode 100644 index 0000000..63a06c5 --- /dev/null +++ b/res/values/arrays.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <string-array name="database"> + <item>University Campus</item> + <item>Google Maps</item> + </string-array> + +</resources> diff --git a/res/values/strings.xml b/res/values/strings.xml new file mode 100644 index 0000000..dda1bdf --- /dev/null +++ b/res/values/strings.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <string name="hello">Hello World, lc8n!</string> + <string name="app_name">lc8n</string> + <string name="db_prompt">Choose a Database</string> +</resources> |