summaryrefslogtreecommitdiff
path: root/res/layout/main.xml
blob: 63b569b6de69d8f0a21c8ba3d9bb2d75e0378f4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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" />

    </FrameLayout>
    <FrameLayout
        android:id="@+id/timecode"
        android:layout_width="wrap_content"
       	android:layout_height="fill_parent"
        android:orientation="vertical" 
		android:layout_centerInParent="true">
	   	<TextView 
	   	    android:layout_width="wrap_content"
       		android:layout_height="wrap_content"
       		android:textColor="#FF2222"
       		android:textSize="32dp"
	   	    android:text=""
			android:id="@+id/textView"/>
	</FrameLayout>
    <FrameLayout
        android:id="@+id/buttonholder"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="vertical" 
        android:layout_alignParentBottom="true"
		android:layout_centerInParent="true">
	   	<Button
	        android:id="@+id/buttonClick"
	        android:layout_width="wrap_content"
	        android:layout_height="wrap_content"
	        android:text="Capture" />
	</FrameLayout>
</RelativeLayout>