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