1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2 android:orientation="vertical"
3 android:layout_width="match_parent"
4 android:layout_height="match_parent">
7 android:layout_width="match_parent"
8 android:layout_height="20dp" />
10 <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
11 android:id="@+id/qrcode_table"
12 android:layout_marginLeft="20dp"
13 android:layout_width="match_parent"
14 android:layout_height="wrap_content"
15 android:stretchColumns="1">
19 android:id="@+id/send_on_request"
20 android:layout_height="wrap_content"
21 android:layout_width="wrap_content"
25 android:id="@+id/send_off_request"
26 android:layout_marginLeft="10dp"
27 android:layout_height="wrap_content"
28 android:layout_width="wrap_content"
32 android:id="@+id/send_toggle_request"
33 android:layout_marginLeft="10dp"
34 android:layout_marginRight="10dp"
35 android:layout_height="wrap_content"
36 android:layout_width="wrap_content"
37 android:text="TOGGLE" />
43 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
44 android:orientation="horizontal"
45 android:layout_marginLeft="20dp"
46 android:layout_marginTop="10dp"
47 android:layout_width="wrap_content"
48 android:layout_height="wrap_content">
51 android:text="Server Response:"
52 android:layout_width="match_parent"
53 android:layout_height="wrap_content" />
56 android:id="@+id/status_text"
57 android:layout_width="match_parent"
58 android:layout_height="wrap_content" />
63 android:id="@+id/back"
64 android:layout_marginTop="40dp"
65 android:layout_marginLeft="20dp"
66 android:layout_height="wrap_content"
67 android:layout_width="wrap_content"
68 android:text="Back To Home Screen" />