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