]> git.ipfire.org Git - thirdparty/hostap.git/blob - wpadebug/res/layout/main.xml
wpadebug: Add generic control interface command mechanism
[thirdparty/hostap.git] / wpadebug / res / layout / main.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 android:layout_width="match_parent"
4 android:layout_height="wrap_content"
5 android:orientation="vertical"
6 >
7 <TextView
8 android:layout_width="wrap_content"
9 android:layout_height="wrap_content"
10 android:text="Framework commands"
11 />
12 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
13 android:layout_width="match_parent"
14 android:layout_height="wrap_content"
15 android:orientation="horizontal"
16 >
17 <Button
18 android:layout_width="wrap_content"
19 android:layout_height="wrap_content"
20 android:text="WifiManager"
21 android:onClick="wifiManagerInfo"
22 />
23 <Button
24 android:layout_width="wrap_content"
25 android:layout_height="wrap_content"
26 android:text="WifiInfo"
27 android:onClick="wifiInfo"
28 />
29 <Button
30 android:layout_width="wrap_content"
31 android:layout_height="wrap_content"
32 android:text="Networks"
33 android:onClick="wifiConfiguredNetworks"
34 />
35 </LinearLayout>
36 <TextView
37 android:layout_width="wrap_content"
38 android:layout_height="wrap_content"
39 android:text="wpa_supplicant commands"
40 />
41 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
42 android:layout_width="match_parent"
43 android:layout_height="wrap_content"
44 android:orientation="horizontal"
45 >
46 <Button
47 android:layout_width="wrap_content"
48 android:layout_height="wrap_content"
49 android:text="wpa_supplicant commands"
50 android:onClick="runWpaCommands"
51 />
52 </LinearLayout>
53 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
54 android:layout_width="match_parent"
55 android:layout_height="wrap_content"
56 android:orientation="horizontal"
57 >
58 <Button
59 android:layout_width="wrap_content"
60 android:layout_height="wrap_content"
61 android:text="log:info"
62 android:onClick="wpaLogLevelInfo"
63 />
64 <Button
65 android:layout_width="wrap_content"
66 android:layout_height="wrap_content"
67 android:text="log:debug"
68 android:onClick="wpaLogLevelDebug"
69 />
70 <Button
71 android:layout_width="wrap_content"
72 android:layout_height="wrap_content"
73 android:text="log:excessive"
74 android:onClick="wpaLogLevelExcessive"
75 />
76 </LinearLayout>
77 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
78 android:layout_width="match_parent"
79 android:layout_height="wrap_content"
80 android:orientation="horizontal"
81 >
82 <EditText android:id="@+id/edit_cmd"
83 android:layout_weight="1"
84 android:layout_width="0dp"
85 android:layout_height="wrap_content"
86 android:hint="wpa_cli command"
87 />
88 <Button
89 android:layout_width="wrap_content"
90 android:layout_height="wrap_content"
91 android:text="Run"
92 android:onClick="runWpaCliCmd"
93 />
94 </LinearLayout>
95 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
96 android:layout_width="match_parent"
97 android:layout_height="wrap_content"
98 android:orientation="horizontal"
99 >
100 <Button
101 android:layout_width="wrap_content"
102 android:layout_height="wrap_content"
103 android:text="Shell commands"
104 android:onClick="runCommands"
105 />
106 </LinearLayout>
107 <TextView
108 android:layout_width="wrap_content"
109 android:layout_height="wrap_content"
110 android:text="NFC commands"
111 />
112 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
113 android:layout_width="match_parent"
114 android:layout_height="wrap_content"
115 android:orientation="horizontal"
116 >
117 <Button
118 android:layout_width="wrap_content"
119 android:layout_height="wrap_content"
120 android:text="WPS handover request"
121 android:onClick="nfcWpsHandoverRequest"
122 />
123 </LinearLayout>
124 </LinearLayout>