• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
17    android:layout_width="match_parent"
18    android:layout_height="match_parent" >
19
20
21    <LinearLayout style="@style/info_layout">
22
23        <!-- Update Button -->
24        <Button android:id="@+id/update"
25                android:textSize="14sp"
26                android:layout_marginTop="8dip"
27                android:layout_width="wrap_content"
28                android:layout_height="wrap_content"
29                android:text="@string/wifi_update"
30                />
31
32        <!--Wifi State-->
33        <LinearLayout style="@style/entry_layout">
34            <TextView android:text="@string/wifi_state_label" style="@style/info_label" />
35            <TextView android:id="@+id/wifi_state" style="@style/info_value" />
36        </LinearLayout>
37
38        <!--Network State-->
39        <LinearLayout style="@style/entry_layout">
40            <TextView android:text="@string/network_state_label" style="@style/info_label" />
41            <TextView android:id="@+id/network_state" style="@style/info_value" />
42        </LinearLayout>
43
44        <!--Supplicant State-->
45        <LinearLayout style="@style/entry_layout">
46            <TextView android:text="@string/supplicant_state_label" style="@style/info_label" />
47            <TextView android:id="@+id/supplicant_state" style="@style/info_value" />
48        </LinearLayout>
49
50        <!--RSSI Value-->
51        <LinearLayout style="@style/entry_layout">
52            <TextView android:text="@string/rssi_label" style="@style/info_label" />
53            <TextView android:id="@+id/rssi" style="@style/info_value" />
54        </LinearLayout>
55
56        <!--BSSID Value-->
57        <LinearLayout style="@style/entry_layout">
58            <TextView android:text="@string/bssid_label" style="@style/info_label" />
59            <TextView android:id="@+id/bssid" style="@style/info_value" />
60        </LinearLayout>
61
62        <!--SSID Value-->
63        <LinearLayout style="@style/entry_layout">
64            <TextView android:text="@string/ssid_label" style="@style/info_label" />
65            <TextView android:id="@+id/ssid" style="@style/info_value" />
66        </LinearLayout>
67
68
69        <!--Hidden SSID Value-->
70        <LinearLayout style="@style/entry_layout">
71            <TextView android:text="@string/hidden_ssid_label" style="@style/info_label" />
72            <TextView android:id="@+id/hidden_ssid" style="@style/info_value" />
73        </LinearLayout>
74
75        <!--IP address Value-->
76        <LinearLayout style="@style/entry_layout">
77            <TextView android:text="@string/ipaddr_label" style="@style/info_label" />
78            <TextView android:id="@+id/ipaddr" style="@style/info_value" />
79        </LinearLayout>
80
81        <!--MAC address Value-->
82        <LinearLayout style="@style/entry_layout">
83            <TextView android:text="@string/macaddr_label" style="@style/info_label" />
84            <TextView android:id="@+id/macaddr" style="@style/info_value" />
85        </LinearLayout>
86
87        <!--Network ID Value-->
88        <LinearLayout style="@style/entry_layout">
89            <TextView android:text="@string/networkid_label" style="@style/info_label" />
90            <TextView android:id="@+id/networkid" style="@style/info_value" />
91        </LinearLayout>
92
93        <!--Link Speed Value-->
94        <LinearLayout style="@style/entry_layout">
95            <TextView android:text="@string/link_speed_label" style="@style/info_label" />
96            <TextView android:id="@+id/link_speed" style="@style/info_value" />
97        </LinearLayout>
98
99        <LinearLayout style="@style/entry_layout">
100            <TextView android:text="@string/scan_list_label" style="@style/info_label" />
101            <TextView android:id="@+id/scan_list" style="@style/info_value" />
102        </LinearLayout>
103
104        <!-- Ping stats -->
105        <Button android:id="@+id/ping_test"
106                android:textSize="14sp"
107                android:layout_marginTop="8dip"
108                android:layout_width="wrap_content"
109                android:layout_height="wrap_content"
110                android:text="@string/ping_test_label"
111                />
112
113        <LinearLayout style="@style/entry_layout">
114            <TextView android:text="@string/radio_info_ping_ipaddr" style="@style/info_label" />
115            <TextView android:id="@+id/pingIpAddr" style="@style/info_value" />
116        </LinearLayout>
117
118        <LinearLayout style="@style/entry_layout">
119            <TextView android:text="@string/radio_info_ping_hostname" style="@style/info_label" />
120            <TextView android:id="@+id/pingHostname" style="@style/info_value" />
121        </LinearLayout>
122
123        <LinearLayout style="@style/entry_layout">
124            <TextView android:text="@string/radio_info_http_client_test" style="@style/info_label" />
125            <TextView android:id="@+id/httpClientTest" style="@style/info_value" />
126        </LinearLayout>
127
128    </LinearLayout>
129</ScrollView>
130