1<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2                android:layout_width="match_parent"
3                android:layout_height="match_parent">
4
5    <LinearLayout android:layout_width="match_parent"
6                  android:layout_height="match_parent">
7
8        <!-- Deliberately empty so that we can add camera preview to it dynamically-->
9        <LinearLayout
10                android:layout_width="0dp"
11                android:orientation="vertical"
12                android:layout_weight=".75"
13                android:layout_height="match_parent"
14                android:id="@+id/llCamera">
15        </LinearLayout>
16
17        <RelativeLayout
18                android:padding="4dp"
19                android:layout_width="0dp"
20                android:orientation="vertical"
21                android:layout_weight=".25"
22                android:layout_height="match_parent">
23
24            <TextView
25                    android:layout_width="wrap_content"
26                    android:layout_height="wrap_content"
27                    android:textSize="17sp"
28                    android:layout_below="@+id/llPassFail"
29                    android:id="@+id/tvObjective"/>
30
31            <TextView
32                    android:layout_below="@+id/tvObjective"
33                    android:paddingTop="20dp"
34                    android:layout_width="wrap_content"
35                    android:layout_height="wrap_content"
36                    android:id="@+id/tvTimer"/>
37
38            <TextView
39                    android:id="@+id/tvPassColour"
40                    android:layout_width="match_parent"
41                    android:layout_height="50dp"
42                    android:layout_marginTop="50dp"
43                    android:layout_below="@id/tvTimer"
44                    android:background="@color/green"/>
45
46            <include layout="@layout/verifier_buttons"/>
47
48        </RelativeLayout>
49    </LinearLayout>
50
51    <ImageButton
52            android:id="@+id/fabPlaceWaypoint"
53            android:layout_width="70dp"
54            android:layout_height="70dp"
55            android:layout_alignParentBottom="true"
56            android:layout_alignParentRight="true"
57            android:layout_margin="16dp"
58            android:background="@drawable/round_button"
59            android:src="@drawable/ic_place_white_24dp"/>
60</RelativeLayout>
61