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 <include layout="@layout/verifier_buttons"/> 27 28 <TextView 29 android:layout_width="wrap_content" 30 android:layout_height="wrap_content" 31 android:textSize="17sp" 32 android:layout_below="@+id/llPassFail" 33 android:id="@+id/tvObjective"/> 34 35 <TextView 36 android:layout_width="wrap_content" 37 android:layout_height="wrap_content" 38 android:layout_below="@+id/tvObjective" 39 android:id="@+id/tvRings"/> 40 41 </RelativeLayout> 42 </LinearLayout> 43 44 <ImageButton 45 android:id="@+id/fabPlaceWaypoint" 46 android:layout_width="70dp" 47 android:layout_height="70dp" 48 android:layout_alignParentBottom="true" 49 android:layout_alignParentRight="true" 50 android:layout_margin="16dp" 51 android:background="@drawable/round_button" 52 android:src="@drawable/ic_place_white_24dp"/> 53</RelativeLayout> 54