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