1<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2017 The Android Open Source Project
2
3     Licensed under the Apache License, Version 2.0 (the "License");
4     you may not use this file except in compliance with the License.
5     You may obtain a copy of the License at
6
7          http://www.apache.org/licenses/LICENSE-2.0
8
9     Unless required by applicable law or agreed to in writing, software
10     distributed under the License is distributed on an "AS IS" BASIS,
11     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12     See the License for the specific language governing permissions and
13     limitations under the License.
14-->
15
16
17<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
18    android:fitsSystemWindows="true"
19    android:id="@+id/wifi_info_scroll_view"
20    style="@style/RootLayoutPadding"
21    android:layout_width="match_parent"
22    android:layout_height="match_parent">
23
24
25    <RelativeLayout
26        android:id="@+id/wifi_ssid_label"
27        android:layout_width="match_parent"
28        android:layout_height="wrap_content">
29
30        <TextView
31            android:id="@+id/wifi_ssid_label"
32            style="@style/InstructionsSmallFont"
33            android:layout_width="wrap_content"
34            android:layout_height="wrap_content"
35            android:text="@string/wifi_ssid_label" />
36
37        <EditText
38            android:id="@+id/wifi_ssid"
39            style="@style/InstructionsSmallFont"
40            android:layout_width="match_parent"
41            android:layout_height="wrap_content"
42            android:layout_below="@id/wifi_ssid_label"
43            android:inputType="text" />
44
45        <TextView
46            android:id="@+id/wifi_psk_label"
47            style="@style/InstructionsSmallFont"
48            android:layout_width="wrap_content"
49            android:layout_height="wrap_content"
50            android:layout_below="@id/wifi_ssid"
51            android:text="@string/wifi_psk_label" />
52
53        <EditText
54            android:id="@+id/wifi_psk"
55            style="@style/InstructionsSmallFont"
56            android:layout_width="match_parent"
57            android:layout_height="wrap_content"
58            android:layout_below="@id/wifi_psk_label"
59            android:inputType="textPassword" />
60
61        <Button
62            android:id="@+id/wifi_start_test_btn"
63            android:layout_width="wrap_content"
64            android:layout_height="wrap_content"
65            android:layout_below="@id/wifi_psk"
66            android:layout_centerHorizontal="true"
67            android:text="@string/wifi_start_test_label" />
68
69
70        <TextView
71            android:id="@+id/wifi_info"
72            style="@style/InstructionsSmallFont"
73            android:layout_width="wrap_content"
74            android:layout_height="wrap_content"
75            android:layout_below="@id/wifi_start_test_btn" />
76
77
78        <ProgressBar
79            android:id="@+id/wifi_progress"
80            android:layout_width="wrap_content"
81            android:layout_height="wrap_content"
82            android:layout_below="@id/wifi_info"
83            android:layout_gravity="center"
84            android:indeterminate="true"
85            android:visibility="gone" />
86
87
88        <include
89            android:id="@+id/pass_fail_buttons"
90            layout="@layout/pass_fail_buttons"
91            android:layout_width="match_parent"
92            android:layout_height="wrap_content"
93            android:layout_below="@id/wifi_progress" />
94    </RelativeLayout>
95</ScrollView>
96