-
Notifications
You must be signed in to change notification settings - Fork 0
/
activity_main_setting.xml
63 lines (59 loc) · 2.64 KB
/
activity_main_setting.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
<?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.MainSetting">
<ScrollView
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ListView
android:id="@+id/list"
android:layout_height="600px"
android:layout_width="match_parent">
</ListView>
<TextView
android:id="@+id/IntervalText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Time Interval(ms):"
android:layout_below="@+id/list"/>
<EditText
android:id="@+id/IntervalEditText"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="ms"
android:inputType="number"
android:maxLength="10"
android:layout_below="@+id/IntervalText"/>
<TextView
android:id="@+id/LogPrefixText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="LogPrefix(only number and alphabet):"
android:layout_below="@+id/IntervalEditText"/>
<EditText
android:id="@+id/LogPrefixEditText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:hint="Log's Prefix(only number and alphabet)"
android:digits="0123456789qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM"
android:maxLength="20"
android:layout_below="@+id/LogPrefixText"/>
<Button
android:id="@+id/ConfirmButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/LogPrefixEditText"
android:text="OK"/>
</LinearLayout>
</ScrollView>
</RelativeLayout>