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