• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3    android:layout_width="fill_parent"
4    android:layout_height="fill_parent"
5    android:orientation="vertical" >
6
7    <TextView
8        android:id="@+id/text_title"
9        android:layout_width="wrap_content"
10        android:layout_height="wrap_content"
11        android:layout_alignParentTop="true"
12        android:textSize="18sp"
13        android:text="@string/choose_pm_activity" />
14
15    <RadioGroup
16        android:id="@+id/rb_dataselect"
17        android:layout_below="@+id/text_title"
18        android:layout_width="wrap_content"
19        android:layout_height="wrap_content" >
20
21        <RadioButton
22            android:id="@+id/rb_connscan"
23            android:layout_width="wrap_content"
24            android:layout_height="wrap_content"
25            android:text="@string/conn_scan"
26            android:checked="true" />
27
28        <RadioButton
29            android:id="@+id/rb_kb"
30            android:layout_width="wrap_content"
31            android:layout_height="wrap_content"
32            android:text="@string/kbfile"/>
33
34        <RadioButton
35            android:id="@+id/rb_tenkb"
36            android:layout_width="wrap_content"
37            android:layout_height="wrap_content"
38            android:text="@string/tenkbfile" />
39
40        <RadioButton
41            android:id="@+id/rb_hundredkb"
42            android:layout_width="wrap_content"
43            android:layout_height="wrap_content"
44            android:text="@string/hundredkbfile" />
45
46        <RadioButton
47            android:id="@+id/rb_mb"
48            android:layout_width="wrap_content"
49            android:layout_height="wrap_content"
50            android:text="@string/mbfile" />
51
52        <RadioButton
53            android:id="@+id/rb_gscan2g"
54            android:layout_width="wrap_content"
55            android:layout_height="wrap_content"
56            android:text="@string/gscan_2g" />
57
58        <RadioButton
59            android:id="@+id/rb_gscan_without_dfs"
60            android:layout_width="wrap_content"
61            android:layout_height="wrap_content"
62            android:text="@string/gscan_without_dfs" />
63
64        <RadioButton
65            android:id="@+id/rb_iperf_client"
66            android:layout_width="wrap_content"
67            android:layout_height="wrap_content"
68            android:text="@string/iperf_client" />
69    </RadioGroup>
70
71    <Button
72        android:id="@+id/btnstart"
73        android:layout_width="wrap_content"
74        android:layout_height="wrap_content"
75        android:layout_alignBaseline="@+id/btnstop"
76        android:layout_alignBottom="@+id/btnstop"
77        android:layout_alignStart="@+id/rb_dataselect"
78        android:text="@string/btn_start" />
79
80    <Button
81        android:id="@+id/btnstop"
82        android:layout_width="wrap_content"
83        android:layout_height="wrap_content"
84        android:layout_below="@+id/rb_dataselect"
85        android:layout_toEndOf="@+id/text_content"
86        android:text="@string/btn_stop" />
87
88    <TextView
89        android:id="@+id/text_content"
90        android:layout_width="wrap_content"
91        android:layout_height="wrap_content"
92        android:layout_alignEnd="@+id/text_title"
93        android:layout_alignParentStart="true"
94        android:layout_below="@+id/btnstart" />
95
96</RelativeLayout>
97