aboutsummaryrefslogtreecommitdiffstats
path: root/wpadebug/res/layout/main.xml
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-05-04 23:46:41 (GMT)
committerJouni Malinen <j@w1.fi>2013-05-04 23:46:41 (GMT)
commita9008e43e555816aaf1f5a31d1cd22ad671b2e76 (patch)
tree509029a4d47d2774cf872bad049fe29639dc98f4 /wpadebug/res/layout/main.xml
parentcb54718c501e2b37231a849a0469deddbf18225a (diff)
downloadhostap-a9008e43e555816aaf1f5a31d1cd22ad671b2e76.zip
hostap-a9008e43e555816aaf1f5a31d1cd22ad671b2e76.tar.gz
hostap-a9008e43e555816aaf1f5a31d1cd22ad671b2e76.tar.bz2
wpadebug: Add generic control interface command mechanism
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpadebug/res/layout/main.xml')
-rw-r--r--wpadebug/res/layout/main.xml36
1 files changed, 3 insertions, 33 deletions
diff --git a/wpadebug/res/layout/main.xml b/wpadebug/res/layout/main.xml
index b3337e4..76841b1 100644
--- a/wpadebug/res/layout/main.xml
+++ b/wpadebug/res/layout/main.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
>
@@ -39,36 +39,6 @@
android:text="wpa_supplicant commands"
/>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- >
- <Button
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="status"
- android:onClick="wpaStatus"
- />
- <Button
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="PMKSA"
- android:onClick="wpaPmksa"
- />
- <Button
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="networks"
- android:onClick="wpaListNetworks"
- />
- <Button
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="creds"
- android:onClick="wpaListCreds"
- />
- </LinearLayout>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
@@ -76,8 +46,8 @@
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="scanres"
- android:onClick="wpaScanResults"
+ android:text="wpa_supplicant commands"
+ android:onClick="runWpaCommands"
/>
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"