blob: 13f1e895f9adeef3c66e7cae3d51604c8903c205 [file] [log] [blame]
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout android:layout_width="match_parent"
android:layout_height="match_parent">
<!-- Deliberately empty so that we can add camera preview to it dynamically-->
<LinearLayout
android:layout_width="0dp"
android:orientation="vertical"
android:layout_weight=".75"
android:layout_height="match_parent"
android:id="@+id/llCamera">
</LinearLayout>
<RelativeLayout
android:padding="4dp"
android:layout_width="0dp"
android:orientation="vertical"
android:layout_weight=".25"
android:layout_height="match_parent">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="17sp"
android:layout_below="@+id/llPassFail"
android:id="@+id/tvObjective"/>
<TextView
android:layout_below="@+id/tvObjective"
android:paddingTop="20dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/tvTimer"/>
<TextView
android:id="@+id/tvPassColour"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="50dp"
android:layout_below="@id/tvTimer"
android:background="@color/green"/>
<include layout="@layout/verifier_buttons"/>
</RelativeLayout>
</LinearLayout>
<ImageButton
android:id="@+id/fabPlaceWaypoint"
android:layout_width="70dp"
android:layout_height="70dp"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_margin="16dp"
android:background="@drawable/round_button"
android:src="@drawable/ic_place_white_24dp"/>
</RelativeLayout>