summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-09-06 18:40:09 +0100
committerTim Redfern <tim@eclectronics.org>2013-09-06 18:40:09 +0100
commit65bff27967c6791dd9ee488ed425be35f515b3e0 (patch)
treeceac6ff178ac01ad4fe5e8e57ff5d90fa6ff3d47 /res/layout
initial commit
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/activity_main.xml16
-rw-r--r--res/layout/main.xml9
2 files changed, 25 insertions, 0 deletions
diff --git a/res/layout/activity_main.xml b/res/layout/activity_main.xml
new file mode 100644
index 0000000..168c9b8
--- /dev/null
+++ b/res/layout/activity_main.xml
@@ -0,0 +1,16 @@
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingBottom="@dimen/activity_vertical_margin"
+ android:paddingLeft="@dimen/activity_horizontal_margin"
+ android:paddingRight="@dimen/activity_horizontal_margin"
+ android:paddingTop="@dimen/activity_vertical_margin"
+ tools:context=".MainActivity" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/hello_world" />
+
+</RelativeLayout>
diff --git a/res/layout/main.xml b/res/layout/main.xml
new file mode 100644
index 0000000..40bfa59
--- /dev/null
+++ b/res/layout/main.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<SurfaceView android:id="@+id/surface_camera"
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_centerInParent="true"
+ android:layout_weight="1"
+ >
+</SurfaceView> \ No newline at end of file