1<?xml version="1.0" encoding="utf-8"?>
2<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3    android:fitsSystemWindows="true"
4    style="@style/RootLayoutPadding"
5    android:layout_width="match_parent"
6    android:layout_height="match_parent"
7    android:orientation="vertical">
8    <ScrollView
9        android:layout_width="match_parent"
10        android:layout_height="match_parent">
11        <LinearLayout
12            android:orientation="vertical" android:layout_width="match_parent"
13            android:layout_height="match_parent">
14            <TextView
15                android:layout_width="match_parent"
16                android:layout_height="wrap_content"
17                android:text="@string/js_test_description"
18                android:layout_margin="@dimen/js_padding"/>
19
20            <TextView
21                android:layout_width="match_parent"
22                android:layout_height="wrap_content"
23                android:text="@string/js_connectivity_description_1"
24                android:layout_margin="@dimen/js_padding"
25                android:textStyle="bold"/>
26
27            <Button
28                android:id="@+id/js_connectivity_start_test_button"
29                android:layout_width="wrap_content"
30                android:layout_height="wrap_content"
31                android:layout_gravity="center"
32                android:text="@string/js_start_test_text"
33                android:onClick="startTest"
34                android:enabled="false"/>
35
36            <LinearLayout
37                android:layout_width="wrap_content"
38                android:layout_height="wrap_content"
39                android:layout_marginTop="@dimen/js_padding"
40                android:layout_marginBottom="@dimen/js_padding">
41                <ImageView
42                    android:id="@+id/connectivity_off_test_unmetered_image"
43                    android:layout_width="wrap_content"
44                    android:layout_height="wrap_content"
45                    android:src="@drawable/fs_indeterminate"
46                    android:layout_marginRight="@dimen/js_padding"/>
47                <TextView
48                    android:layout_width="wrap_content"
49                    android:layout_height="wrap_content"
50                    android:text="@string/js_unmetered_connectivity_test"
51                    android:textSize="16dp"/>
52            </LinearLayout>
53
54            <LinearLayout
55                android:layout_width="wrap_content"
56                android:layout_height="wrap_content"
57                android:layout_marginTop="@dimen/js_padding"
58                android:layout_marginBottom="@dimen/js_padding">
59                <ImageView
60                    android:id="@+id/connectivity_off_test_any_connectivity_image"
61                    android:layout_width="wrap_content"
62                    android:layout_height="wrap_content"
63                    android:src="@drawable/fs_indeterminate"
64                    android:layout_marginRight="@dimen/js_padding"/>
65                <TextView
66                    android:layout_width="wrap_content"
67                    android:layout_height="wrap_content"
68                    android:text="@string/js_any_connectivity_test"
69                    android:textSize="16dp"/>
70            </LinearLayout>
71
72            <LinearLayout
73                android:layout_width="wrap_content"
74                android:layout_height="wrap_content"
75                android:layout_marginTop="@dimen/js_padding"
76                android:layout_marginBottom="@dimen/js_padding">
77                <ImageView
78                    android:id="@+id/connectivity_off_test_no_connectivity_image"
79                    android:layout_width="wrap_content"
80                    android:layout_height="wrap_content"
81                    android:src="@drawable/fs_indeterminate"
82                    android:layout_marginRight="@dimen/js_padding"/>
83                <TextView
84                    android:layout_width="wrap_content"
85                    android:layout_height="wrap_content"
86                    android:text="@string/js_no_connectivity_test"
87                    android:textSize="16dp"/>
88            </LinearLayout>
89
90            <include layout="@layout/pass_fail_buttons" />
91        </LinearLayout>
92    </ScrollView>
93</LinearLayout>
94