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