1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2018 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<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 17 android:fitsSystemWindows="@bool/fit_system_windows" 18 style="@style/RootLayoutPadding" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent"> 21 22 <ScrollView 23 android:id="@+id/scrollView" 24 android:layout_width="match_parent" 25 android:layout_height="wrap_content"> 26 27 <LinearLayout 28 android:layout_width="match_parent" 29 android:layout_height="wrap_content" 30 android:orientation="vertical" 31 android:padding="10dp"> 32 33 <TextView 34 android:id="@+id/test_prerequisites" 35 style="@style/InstructionsSmallFont" 36 android:layout_width="match_parent" 37 android:layout_height="wrap_content" 38 android:text="@string/multinetwork_connectivity_test_pre_requisites" /> 39 40 <TextView 41 android:id="@+id/test_ap_label" 42 style="@style/InstructionsSmallFont" 43 android:layout_width="wrap_content" 44 android:layout_height="wrap_content" 45 android:text="@string/multinetwork_connectivity_test_ap_name" /> 46 47 <EditText 48 android:id="@+id/test_ap_ssid" 49 style="@style/InstructionsSmallFont" 50 android:hint="@string/multinetwork_connectivity_test_ap_name" 51 android:importantForAutofill="no" 52 android:layout_width="match_parent" 53 android:layout_height="wrap_content" 54 android:inputType="text" /> 55 56 <TextView 57 android:id="@+id/test_psk_label" 58 style="@style/InstructionsSmallFont" 59 android:layout_width="wrap_content" 60 android:layout_height="wrap_content" 61 android:text="@string/multinetwork_connectivity_test_ap_passphrase" /> 62 63 <EditText 64 android:id="@+id/test_ap_psk" 65 style="@style/InstructionsSmallFont" 66 android:hint="@string/multinetwork_connectivity_test_ap_passphrase" 67 android:importantForAutofill="no" 68 android:layout_width="match_parent" 69 android:layout_height="wrap_content" 70 android:inputType="textPassword" /> 71 72 <TextView 73 android:id="@+id/current_test" 74 style="@style/InstructionsSmallFont" 75 android:layout_width="match_parent" 76 android:layout_height="wrap_content" 77 android:text="@string/multinetwork_connectivity_test_1_desc" /> 78 79 <TextView 80 android:id="@+id/test_progress_info" 81 style="@style/InstructionsSmallFont" 82 android:layout_width="match_parent" 83 android:layout_height="wrap_content" /> 84 85 <Button 86 android:id="@+id/start_multinet_btn" 87 android:layout_width="wrap_content" 88 android:layout_height="wrap_content" 89 android:layout_gravity="center_horizontal" 90 android:layout_marginBottom="30dp" 91 android:text="@string/multinetwork_connectivity_test_start" /> 92 </LinearLayout> 93 </ScrollView> 94 95 <include 96 android:id="@+id/pass_fail_buttons" 97 layout="@layout/pass_fail_buttons" 98 android:layout_width="match_parent" 99 android:layout_height="wrap_content" 100 android:layout_alignParentBottom="true" /> 101</RelativeLayout> 102