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_below="@+id/tvObjective" 37 android:paddingTop="20dp" 38 android:layout_width="wrap_content" 39 android:layout_height="wrap_content" 40 android:id="@+id/tvTranslations"/> 41 42 <TextView 43 android:paddingTop="4dp" 44 android:layout_below="@+id/tvTranslations" 45 android:layout_width="wrap_content" 46 android:layout_height="wrap_content" 47 android:id="@+id/tvMarkers"/> 48 </RelativeLayout> 49 </LinearLayout> 50 51 <ImageButton 52 android:id="@+id/fabPlaceWaypoint" 53 android:layout_width="70dp" 54 android:layout_height="70dp" 55 android:layout_alignParentBottom="true" 56 android:layout_alignParentRight="true" 57 android:layout_margin="16dp" 58 android:background="@drawable/round_button" 59 android:src="@drawable/ic_place_white_24dp"/> 60</RelativeLayout> 61