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