1<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2024 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="@bool/fit_system_windows" 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_Layout" 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:importantForAutofill="no" 44 android:hint="@string/wifi_ssid_label" 45 android:inputType="text" /> 46 47 <TextView 48 android:id="@+id/wifi_psk_label" 49 style="@style/InstructionsSmallFont" 50 android:layout_width="wrap_content" 51 android:layout_height="wrap_content" 52 android:layout_below="@id/wifi_ssid" 53 android:text="@string/wifi_psk_label_required" /> 54 55 <EditText 56 android:id="@+id/wifi_psk" 57 style="@style/InstructionsSmallFont" 58 android:layout_width="match_parent" 59 android:layout_height="wrap_content" 60 android:layout_below="@id/wifi_psk_label" 61 android:importantForAutofill="no" 62 android:hint="@string/wifi_psk_label_required" 63 android:inputType="textPassword" /> 64 65 <Button 66 android:id="@+id/wifi_start_test_btn" 67 android:layout_width="wrap_content" 68 android:layout_height="wrap_content" 69 android:layout_below="@id/wifi_psk" 70 android:layout_centerHorizontal="true" 71 android:text="@string/wifi_start_test_label" /> 72 73 74 <TextView 75 android:id="@+id/wifi_info" 76 style="@style/InstructionsSmallFont" 77 android:layout_width="wrap_content" 78 android:layout_height="wrap_content" 79 android:layout_below="@id/wifi_start_test_btn" /> 80 81 82 <ProgressBar 83 android:id="@+id/wifi_progress" 84 android:layout_width="wrap_content" 85 android:layout_height="wrap_content" 86 android:layout_below="@id/wifi_info" 87 android:layout_gravity="center" 88 android:indeterminate="true" 89 android:visibility="gone" /> 90 91 92 <include 93 android:id="@+id/pass_fail_buttons" 94 layout="@layout/pass_fail_buttons" 95 android:layout_width="match_parent" 96 android:layout_height="wrap_content" 97 android:layout_below="@id/wifi_progress" /> 98 </RelativeLayout> 99</ScrollView> 100