Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / src / android / CHIPTool / app / src / main / res / layout / on_off_fragment.xml
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">
5
6     <View
7         android:layout_width="match_parent"
8         android:layout_height="20dp" />
9
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">
16
17         <TableRow>
18             <Button
19                 android:id="@+id/send_on_request"
20                 android:layout_height="wrap_content"
21                 android:layout_width="wrap_content"
22                 android:text="ON" />
23
24             <Button
25                 android:id="@+id/send_off_request"
26                 android:layout_marginLeft="10dp"
27                 android:layout_height="wrap_content"
28                 android:layout_width="wrap_content"
29                 android:text="OFF" />
30
31             <Button
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" />
38
39         </TableRow>
40
41     </TableLayout>
42
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">
49
50         <TextView
51             android:text="Server Response:"
52             android:layout_width="match_parent"
53             android:layout_height="wrap_content" />
54
55         <TextView
56             android:id="@+id/status_text"
57             android:layout_width="match_parent"
58             android:layout_height="wrap_content" />
59
60     </LinearLayout>
61
62     <Button
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" />
69 </LinearLayout>