• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2019 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        <!--Transmit Link Speed Value-->
94        <LinearLayout style="@style/entry_layout">
95            <TextView android:text="@string/tx_link_speed_label" style="@style/info_label" />
96            <TextView android:id="@+id/tx_link_speed" style="@style/info_value" />
97        </LinearLayout>
98
99        <!--Receive Link Speed Value-->
100        <LinearLayout style="@style/entry_layout">
101            <TextView android:text="@string/rx_link_speed_label" style="@style/info_label" />
102            <TextView android:id="@+id/rx_link_speed" style="@style/info_value" />
103        </LinearLayout>
104
105        <LinearLayout style="@style/entry_layout">
106            <TextView android:text="@string/scan_list_label" style="@style/info_label" />
107            <TextView android:id="@+id/scan_list" style="@style/info_value" />
108        </LinearLayout>
109
110        <!-- Ping stats -->
111        <Button android:id="@+id/ping_test"
112                android:textSize="14sp"
113                android:layout_marginTop="8dip"
114                android:layout_width="wrap_content"
115                android:layout_height="wrap_content"
116                android:text="@string/ping_test_label"
117                />
118
119        <LinearLayout style="@style/entry_layout">
120            <TextView android:text="@string/radio_info_ping_hostname_v4" style="@style/info_label" />
121            <TextView android:id="@+id/pingHostname" style="@style/info_value" />
122        </LinearLayout>
123
124        <LinearLayout style="@style/entry_layout">
125            <TextView android:text="@string/radio_info_http_client_test" style="@style/info_label" />
126            <TextView android:id="@+id/httpClientTest" style="@style/info_value" />
127        </LinearLayout>
128
129    </LinearLayout>
130</ScrollView>
131