summaryrefslogtreecommitdiff
path: root/ref/main.xml
diff options
context:
space:
mode:
Diffstat (limited to 'ref/main.xml')
-rw-r--r--ref/main.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/ref/main.xml b/ref/main.xml
new file mode 100644
index 0000000..be086c3
--- /dev/null
+++ b/ref/main.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/layout"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical" >
+
+ <FrameLayout
+ android:id="@+id/preview"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_weight="1" >
+
+ <SurfaceView
+ android:id="@+id/surfaceView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" >"
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="2px"
+ android:layout_gravity="center_vertical"
+ android:background="#ff0000"
+ android:layout_weight=".80" />
+ <Button
+ android:id="@+id/buttonClick"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:text="Click" />
+ </LinearLayout>
+ </FrameLayout>
+
+</LinearLayout> \ No newline at end of file