summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-08-06 23:21:14 +0100
committerComment <tim@gray.(none)>2013-08-06 23:21:14 +0100
commit81a7fbb76d121e1e60d028485b2abbac9e3882a8 (patch)
tree986257e48c256eb5e69e8c85cb579272fdc3ddbf /res/layout
initial commitHEADmaster
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/activity_main.xml16
-rw-r--r--res/layout/main.xml8
2 files changed, 24 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..b64d0eb
--- /dev/null
+++ b/res/layout/main.xml
@@ -0,0 +1,8 @@
+<?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