Updated through tag hostap_2_5 from git://w1.fi/hostap.git
[mech_eap.git] / libeap / 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="Credentials"
62                     android:onClick="runWpaCredentials"
63                     />
64         </LinearLayout>
65         <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
66                       android:layout_width="match_parent"
67                       android:layout_height="wrap_content"
68                       android:orientation="horizontal"
69                       >
70                 <Button
71                     android:layout_width="wrap_content"
72                     android:layout_height="wrap_content"
73                     android:text="log:info"
74                     android:onClick="wpaLogLevelInfo"
75                     />
76                 <Button
77                     android:layout_width="wrap_content"
78                     android:layout_height="wrap_content"
79                     android:text="log:debug"
80                     android:onClick="wpaLogLevelDebug"
81                     />
82                 <Button
83                     android:layout_width="wrap_content"
84                     android:layout_height="wrap_content"
85                     android:text="log:excessive"
86                     android:onClick="wpaLogLevelExcessive"
87                     />
88         </LinearLayout>
89         <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
90                       android:layout_width="match_parent"
91                       android:layout_height="wrap_content"
92                       android:orientation="horizontal"
93                       >
94                 <EditText android:id="@+id/edit_cmd"
95                           android:layout_weight="1"
96                           android:layout_width="0dp"
97                           android:layout_height="wrap_content"
98                           android:hint="wpa_cli command"
99                           />
100                 <Button
101                     android:layout_width="wrap_content"
102                     android:layout_height="wrap_content"
103                     android:text="Run"
104                     android:onClick="runWpaCliCmd"
105                     />
106         </LinearLayout>
107         <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
108                       android:layout_width="match_parent"
109                       android:layout_height="wrap_content"
110                       android:orientation="horizontal"
111                       >
112                 <Button
113                     android:layout_width="wrap_content"
114                     android:layout_height="wrap_content"
115                     android:text="Shell commands"
116                     android:onClick="runCommands"
117                     />
118         </LinearLayout>
119         <TextView
120             android:layout_width="wrap_content"
121             android:layout_height="wrap_content"
122             android:text="NFC commands"
123             />
124         <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
125                       android:layout_width="match_parent"
126                       android:layout_height="wrap_content"
127                       android:orientation="horizontal"
128                       >
129                 <Button
130                     android:layout_width="wrap_content"
131                     android:layout_height="wrap_content"
132                     android:text="WPS handover request"
133                     android:onClick="nfcWpsHandoverRequest"
134                     />
135         </LinearLayout>
136 </LinearLayout>