blob: b0e28242133a8e6eee48187db8353fee9ba66024 [file] [log] [blame]
Matthew Williams547b8162014-10-15 10:18:11 -07001<?xml version="1.0" encoding="utf-8"?>
Michael Kwanfebcfac2014-11-21 14:27:19 -08002<android.support.wearable.view.BoxInsetLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:app="http://schemas.android.com/apk/res-auto"
Matthew Williamsdb6a3a82014-11-07 11:06:40 -08004 android:layout_width="match_parent"
Matthew Williams547b8162014-10-15 10:18:11 -07005 android:layout_height="match_parent">
Michael Kwanfebcfac2014-11-21 14:27:19 -08006 <ScrollView app:layout_box="all"
7 android:layout_width="match_parent"
Matthew Williamsdb6a3a82014-11-07 11:06:40 -08008 android:layout_height="match_parent">
Matthew Williamsdb6a3a82014-11-07 11:06:40 -08009 <LinearLayout
Michael Kwanfebcfac2014-11-21 14:27:19 -080010 android:orientation="vertical" android:layout_width="match_parent"
11 android:layout_height="match_parent">
Matthew Williamsdb6a3a82014-11-07 11:06:40 -080012 <TextView
Michael Kwanfebcfac2014-11-21 14:27:19 -080013 android:layout_width="match_parent"
Matthew Williamsdb6a3a82014-11-07 11:06:40 -080014 android:layout_height="wrap_content"
Michael Kwanfebcfac2014-11-21 14:27:19 -080015 android:text="@string/js_test_description"
16 android:layout_margin="@dimen/js_padding"/>
Matthew Williamsdb6a3a82014-11-07 11:06:40 -080017
Matthew Williamsdb6a3a82014-11-07 11:06:40 -080018 <TextView
Michael Kwanfebcfac2014-11-21 14:27:19 -080019 android:layout_width="match_parent"
Matthew Williamsdb6a3a82014-11-07 11:06:40 -080020 android:layout_height="wrap_content"
Michael Kwanfebcfac2014-11-21 14:27:19 -080021 android:text="@string/js_connectivity_description_1"
22 android:layout_margin="@dimen/js_padding"
23 android:textStyle="bold"/>
Matthew Williamsdb6a3a82014-11-07 11:06:40 -080024
Michael Kwanfebcfac2014-11-21 14:27:19 -080025 <Button
26 android:id="@+id/js_connectivity_start_test_button"
Matthew Williamsdb6a3a82014-11-07 11:06:40 -080027 android:layout_width="wrap_content"
28 android:layout_height="wrap_content"
Michael Kwanfebcfac2014-11-21 14:27:19 -080029 android:layout_gravity="center"
30 android:text="@string/js_start_test_text"
31 android:onClick="startTest"
32 android:enabled="false"/>
Matthew Williamsdb6a3a82014-11-07 11:06:40 -080033
Michael Kwanfebcfac2014-11-21 14:27:19 -080034 <LinearLayout
35 android:layout_width="wrap_content"
36 android:layout_height="wrap_content"
37 android:layout_marginTop="@dimen/js_padding"
38 android:layout_marginBottom="@dimen/js_padding">
39 <ImageView
40 android:id="@+id/connectivity_off_test_unmetered_image"
41 android:layout_width="wrap_content"
42 android:layout_height="wrap_content"
43 android:src="@drawable/fs_indeterminate"
44 android:layout_marginRight="@dimen/js_padding"/>
45 <TextView
46 android:layout_width="wrap_content"
47 android:layout_height="wrap_content"
48 android:text="@string/js_unmetered_connectivity_test"
49 android:textSize="16dp"/>
50 </LinearLayout>
51
52 <LinearLayout
53 android:layout_width="wrap_content"
54 android:layout_height="wrap_content"
55 android:layout_marginTop="@dimen/js_padding"
56 android:layout_marginBottom="@dimen/js_padding">
57 <ImageView
58 android:id="@+id/connectivity_off_test_any_connectivity_image"
59 android:layout_width="wrap_content"
60 android:layout_height="wrap_content"
61 android:src="@drawable/fs_indeterminate"
62 android:layout_marginRight="@dimen/js_padding"/>
63 <TextView
64 android:layout_width="wrap_content"
65 android:layout_height="wrap_content"
66 android:text="@string/js_any_connectivity_test"
67 android:textSize="16dp"/>
68 </LinearLayout>
69
70 <LinearLayout
71 android:layout_width="wrap_content"
72 android:layout_height="wrap_content"
73 android:layout_marginTop="@dimen/js_padding"
74 android:layout_marginBottom="@dimen/js_padding">
75 <ImageView
76 android:id="@+id/connectivity_off_test_no_connectivity_image"
77 android:layout_width="wrap_content"
78 android:layout_height="wrap_content"
79 android:src="@drawable/fs_indeterminate"
80 android:layout_marginRight="@dimen/js_padding"/>
81 <TextView
82 android:layout_width="wrap_content"
83 android:layout_height="wrap_content"
84 android:text="@string/js_no_connectivity_test"
85 android:textSize="16dp"/>
86 </LinearLayout>
87
88 <include layout="@layout/pass_fail_buttons" />
89 </LinearLayout>
90 </ScrollView>
91</android.support.wearable.view.BoxInsetLayout>