-
Notifications
You must be signed in to change notification settings - Fork 0
/
activity_main.xml
88 lines (84 loc) · 3.28 KB
/
activity_main.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="edu.nctu.wirelab.testsignalv1.MainActivity">
<Button
android:id="@+id/SettingButton"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:text="Setting" />
<Button
android:id="@+id/StartServiceButton"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:text="Start Service"
android:layout_below="@+id/SettingButton"/>
<Button
android:id="@+id/StopServiceButton"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:text="Stop Service"
android:layout_below="@+id/SettingButton"
android:layout_toRightOf="@+id/StartServiceButton"/>
<Button
android:id="@+id/ShowMsgButton"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:text="Show Msg"
android:layout_below="@+id/StartServiceButton"/>
<Button
android:id="@+id/SignalMapButton"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:text="Signal Map"
android:layout_below="@+id/ShowMsgButton"/>
<Button
android:id="@+id/ImportKeyButton"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:text="Import Key"
android:layout_toRightOf="@+id/SignalMapButton"
android:layout_below="@+id/ShowMsgButton"/>
<Button
android:id="@+id/SignInSIgnUpButton"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:text="SignIn SIgnUp"
android:layout_below="@+id/ImportKeyButton"/>
<TextView
android:id="@+id/LogPathText"
android:textSize="20dp"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:text="Path of log file: "
android:layout_centerVertical="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_below="@+id/SignInSIgnUpButton" />
<TextView
android:id="@+id/LogPathContent"
android:textSize="20dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="LogPath"
android:layout_below="@+id/LogPathText"/>
<Button
android:id="@+id/UploadButton"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:text="UploadToServer" />
<Button
android:id="@+id/RemoveLogsButton"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_toRightOf="@+id/UploadButton"
android:text="RemoveLogs" />
</RelativeLayout>