You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
95 lines
3.4 KiB
95 lines
3.4 KiB
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2017 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/wifi_info_scroll_view"
|
|
style="@style/RootLayoutPadding"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/wifi_ssid_label"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:id="@+id/wifi_ssid_label"
|
|
style="@style/InstructionsSmallFont"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/wifi_ssid_label" />
|
|
|
|
<EditText
|
|
android:id="@+id/wifi_ssid"
|
|
style="@style/InstructionsSmallFont"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/wifi_ssid_label"
|
|
android:inputType="text" />
|
|
|
|
<TextView
|
|
android:id="@+id/wifi_psk_label"
|
|
style="@style/InstructionsSmallFont"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/wifi_ssid"
|
|
android:text="@string/wifi_psk_label" />
|
|
|
|
<EditText
|
|
android:id="@+id/wifi_psk"
|
|
style="@style/InstructionsSmallFont"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/wifi_psk_label"
|
|
android:inputType="textPassword" />
|
|
|
|
<Button
|
|
android:id="@+id/wifi_start_test_btn"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/wifi_psk"
|
|
android:layout_centerHorizontal="true"
|
|
android:text="@string/wifi_start_test_label" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/wifi_info"
|
|
style="@style/InstructionsSmallFont"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/wifi_start_test_btn" />
|
|
|
|
|
|
<ProgressBar
|
|
android:id="@+id/wifi_progress"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/wifi_info"
|
|
android:layout_gravity="center"
|
|
android:indeterminate="true"
|
|
android:visibility="gone" />
|
|
|
|
|
|
<include
|
|
android:id="@+id/pass_fail_buttons"
|
|
layout="@layout/pass_fail_buttons"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/wifi_progress" />
|
|
</RelativeLayout>
|
|
</ScrollView>
|