summaryrefslogtreecommitdiffstats
path: root/PMC/res/layout/activity_linear.xml
blob: 6461b4d2bb4402600bee739cc085ee5a7fb28bc3 (plain)
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
89
90
91
92
93
94
95
96
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" >

    <TextView
        android:id="@+id/text_title"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentTop="true"
        android:textSize="18sp"
        android:text="@string/choose_pm_activity" />

    <RadioGroup
        android:id="@+id/rb_dataselect"
        android:layout_below="@+id/text_title"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" >

        <RadioButton
            android:id="@+id/rb_connscan"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/conn_scan"
            android:checked="true" />

        <RadioButton
            android:id="@+id/rb_kb"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/kbfile"/>

        <RadioButton
            android:id="@+id/rb_tenkb"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/tenkbfile" />

        <RadioButton
            android:id="@+id/rb_hundredkb"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/hundredkbfile" />

        <RadioButton
            android:id="@+id/rb_mb"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/mbfile" />

        <RadioButton
            android:id="@+id/rb_gscan2g"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/gscan_2g" />

        <RadioButton
            android:id="@+id/rb_gscan_without_dfs"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/gscan_without_dfs" />

        <RadioButton
            android:id="@+id/rb_iperf_client"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/iperf_client" />
    </RadioGroup>

    <Button
        android:id="@+id/btnstart"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignBaseline="@+id/btnstop"
        android:layout_alignBottom="@+id/btnstop"
        android:layout_alignStart="@+id/rb_dataselect"
        android:text="@string/btn_start" />

    <Button
        android:id="@+id/btnstop"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_below="@+id/rb_dataselect"
        android:layout_toEndOf="@+id/text_content"
        android:text="@string/btn_stop" />

    <TextView
        android:id="@+id/text_content"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignEnd="@+id/text_title"
        android:layout_alignParentStart="true"
        android:layout_below="@+id/btnstart" />

</RelativeLayout>