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 <include layout="@layout/verifier_buttons"/> 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_width="wrap_content" 35 android:layout_height="wrap_content" 36 android:layout_below="@+id/tvObjective" 37 android:id="@+id/tvRings"/> 38 39 </RelativeLayout> 40 </LinearLayout> 41 42 <ImageButton 43 android:id="@+id/fabPlaceWaypoint" 44 android:layout_width="70dp" 45 android:layout_height="70dp" 46 android:layout_alignParentBottom="true" 47 android:layout_alignParentRight="true" 48 android:layout_margin="16dp" 49 android:background="@drawable/round_button" 50 android:src="@drawable/ic_place_white_24dp"/> 51</RelativeLayout> 52