|
@@ -1,18 +1,67 @@
|
1
|
1
|
<?xml version="1.0" encoding="utf-8"?>
|
2
|
|
-<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
3
|
|
- xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
2
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
4
|
3
|
xmlns:tools="http://schemas.android.com/tools"
|
5
|
4
|
android:layout_width="match_parent"
|
6
|
5
|
android:layout_height="match_parent"
|
7
|
|
- tools:context=".MainActivity">
|
|
6
|
+ tools:context=".MainActivity"
|
|
7
|
+ android:orientation="vertical">
|
8
|
8
|
|
9
|
|
- <TextView
|
10
|
|
- android:layout_width="wrap_content"
|
|
9
|
+ <LinearLayout
|
|
10
|
+ android:layout_width="match_parent"
|
11
|
11
|
android:layout_height="wrap_content"
|
12
|
|
- android:text="Hello World!"
|
13
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
14
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
15
|
|
- app:layout_constraintRight_toRightOf="parent"
|
16
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
12
|
+ android:orientation="vertical">
|
17
|
13
|
|
18
|
|
-</android.support.constraint.ConstraintLayout>
|
|
14
|
+ <TextView
|
|
15
|
+ android:id="@+id/textView2"
|
|
16
|
+ android:layout_width="match_parent"
|
|
17
|
+ android:layout_height="wrap_content"
|
|
18
|
+ android:background="@color/colorPrimary"
|
|
19
|
+ android:text="Repeater" />
|
|
20
|
+
|
|
21
|
+ <ToggleButton
|
|
22
|
+ android:id="@+id/button"
|
|
23
|
+ android:layout_width="match_parent"
|
|
24
|
+ android:layout_height="wrap_content"
|
|
25
|
+ android:text="Port Open" />
|
|
26
|
+ <LinearLayout
|
|
27
|
+ android:layout_width="match_parent"
|
|
28
|
+ android:layout_height="wrap_content"
|
|
29
|
+ android:orientation="horizontal">
|
|
30
|
+ <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" />
|
|
37
|
+
|
|
38
|
+
|
|
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
|
+ <TextView
|
|
49
|
+ android:id="@+id/textView4"
|
|
50
|
+ android:layout_width="match_parent"
|
|
51
|
+ android:layout_height="wrap_content"
|
|
52
|
+ android:background="@color/colorPrimary"
|
|
53
|
+ android:text="Alarm Status" />
|
|
54
|
+ </LinearLayout>
|
|
55
|
+
|
|
56
|
+ <LinearLayout
|
|
57
|
+ android:layout_width="match_parent"
|
|
58
|
+ android:layout_height="wrap_content"
|
|
59
|
+ android:orientation="vertical">
|
|
60
|
+
|
|
61
|
+ <ListView
|
|
62
|
+ android:id="@+id/listview_info"
|
|
63
|
+ android:layout_width="match_parent"
|
|
64
|
+ android:layout_height="wrap_content" />
|
|
65
|
+ </LinearLayout>
|
|
66
|
+
|
|
67
|
+</LinearLayout>
|