|
@@ -1,11 +1,14 @@
|
1
|
1
|
<?xml version="1.0" encoding="utf-8"?>
|
2
|
2
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
3
|
4
|
xmlns:tools="http://schemas.android.com/tools"
|
4
|
5
|
android:layout_width="match_parent"
|
5
|
6
|
android:layout_height="match_parent"
|
6
|
7
|
tools:context=".MainActivity"
|
7
|
8
|
android:orientation="vertical">
|
8
|
9
|
|
|
10
|
+
|
|
11
|
+
|
9
|
12
|
<LinearLayout
|
10
|
13
|
android:layout_width="match_parent"
|
11
|
14
|
android:layout_height="wrap_content"
|
|
@@ -23,34 +26,72 @@
|
23
|
26
|
android:layout_width="match_parent"
|
24
|
27
|
android:layout_height="wrap_content"
|
25
|
28
|
android:text="Port Open" />
|
26
|
|
- <LinearLayout
|
27
|
|
- android:layout_width="match_parent"
|
28
|
|
- android:layout_height="wrap_content"
|
29
|
|
- android:orientation="horizontal">
|
|
29
|
+
|
|
30
|
+ </LinearLayout>
|
|
31
|
+
|
|
32
|
+ <LinearLayout
|
|
33
|
+ android:layout_width="match_parent"
|
|
34
|
+ android:layout_height="wrap_content"
|
|
35
|
+ android:orientation="horizontal">
|
|
36
|
+
|
30
|
37
|
<Button
|
31
|
|
- android:id="@+id/button2"
|
32
|
|
- android:layout_width="100dp"
|
33
|
|
- android:layout_height="100dp"
|
34
|
|
- android:layout_marginLeft="10dp"
|
35
|
|
- android:layout_marginBottom="10dp"
|
36
|
|
- android:text="Control" />
|
|
38
|
+ android:id="@+id/button2"
|
|
39
|
+ android:layout_width="100dp"
|
|
40
|
+ android:layout_height="100dp"
|
|
41
|
+ android:layout_marginLeft="10dp"
|
|
42
|
+ android:layout_marginBottom="10dp"
|
|
43
|
+ android:text="Control" />
|
37
|
44
|
|
38
|
45
|
|
39
|
|
- <TextView
|
40
|
|
- android:id="@+id/textView3"
|
41
|
|
- android:layout_marginLeft="30dp"
|
42
|
|
- android:layout_marginTop="20dp"
|
43
|
|
- android:layout_width="match_parent"
|
44
|
|
- android:layout_height="match_parent"
|
45
|
|
- android:text="Status"
|
46
|
|
- android:textSize="46sp" />
|
47
|
|
- </LinearLayout>
|
48
|
46
|
<TextView
|
49
|
|
- android:id="@+id/textView4"
|
|
47
|
+ android:id="@+id/textView3"
|
50
|
48
|
android:layout_width="match_parent"
|
51
|
49
|
android:layout_height="wrap_content"
|
52
|
|
- android:background="@color/colorPrimary"
|
53
|
|
- android:text="Alarm Status" />
|
|
50
|
+ android:layout_marginLeft="30dp"
|
|
51
|
+ android:layout_marginTop="20dp"
|
|
52
|
+ android:text="Status"
|
|
53
|
+ android:textSize="46sp" />
|
|
54
|
+ </LinearLayout>
|
|
55
|
+ <TextView
|
|
56
|
+ android:id="@+id/textView4"
|
|
57
|
+ android:layout_width="match_parent"
|
|
58
|
+ android:layout_height="wrap_content"
|
|
59
|
+ android:background="@color/colorPrimary"
|
|
60
|
+ android:text="Alarm Status" />
|
|
61
|
+ <LinearLayout
|
|
62
|
+ android:layout_width="match_parent"
|
|
63
|
+ android:layout_height="wrap_content"
|
|
64
|
+ android:orientation="horizontal">
|
|
65
|
+ <TextView
|
|
66
|
+ android:id="@+id/textView5"
|
|
67
|
+ android:layout_width="wrap_content"
|
|
68
|
+ android:layout_height="wrap_content"
|
|
69
|
+ android:text="Lock"
|
|
70
|
+ tools:ignore="HardcodedText" />
|
|
71
|
+
|
|
72
|
+ <ImageView
|
|
73
|
+ android:id="@+id/imageView2"
|
|
74
|
+ android:layout_width="wrap_content"
|
|
75
|
+ android:layout_height="wrap_content"
|
|
76
|
+ android:layout_weight="1"
|
|
77
|
+ app:srcCompat="@android:drawable/presence_invisible"
|
|
78
|
+ android:contentDescription="TODO"
|
|
79
|
+ tools:ignore="ContentDescription,HardcodedText" />
|
|
80
|
+
|
|
81
|
+ <TextView
|
|
82
|
+ android:id="@+id/textView6"
|
|
83
|
+ android:layout_width="wrap_content"
|
|
84
|
+ android:layout_height="wrap_content"
|
|
85
|
+ android:text="PLL"
|
|
86
|
+ tools:ignore="HardcodedText" />
|
|
87
|
+ <ImageView
|
|
88
|
+ android:id="@+id/imageView3"
|
|
89
|
+ android:layout_width="wrap_content"
|
|
90
|
+ android:layout_height="wrap_content"
|
|
91
|
+ android:layout_weight="1"
|
|
92
|
+ app:srcCompat="@android:drawable/presence_invisible"
|
|
93
|
+ android:contentDescription="TODO"
|
|
94
|
+ tools:ignore="ContentDescription,HardcodedText" />
|
54
|
95
|
</LinearLayout>
|
55
|
96
|
|
56
|
97
|
<LinearLayout
|
|
@@ -60,8 +101,9 @@
|
60
|
101
|
|
61
|
102
|
<ListView
|
62
|
103
|
android:id="@+id/listview_info"
|
63
|
|
- android:layout_width="match_parent"
|
64
|
|
- android:layout_height="wrap_content" />
|
|
104
|
+ android:layout_width="wrap_content"
|
|
105
|
+ android:layout_height="wrap_content"
|
|
106
|
+ />
|
65
|
107
|
</LinearLayout>
|
66
|
108
|
|
67
|
109
|
</LinearLayout>
|