Matthew Williams | 547b816 | 2014-10-15 10:18:11 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Michael Kwan | febcfac | 2014-11-21 14:27:19 -0800 | [diff] [blame] | 2 | <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 Williams | db6a3a8 | 2014-11-07 11:06:40 -0800 | [diff] [blame] | 4 | android:layout_width="match_parent" |
Matthew Williams | 547b816 | 2014-10-15 10:18:11 -0700 | [diff] [blame] | 5 | android:layout_height="match_parent"> |
Michael Kwan | febcfac | 2014-11-21 14:27:19 -0800 | [diff] [blame] | 6 | <ScrollView app:layout_box="all" |
| 7 | android:layout_width="match_parent" |
Matthew Williams | db6a3a8 | 2014-11-07 11:06:40 -0800 | [diff] [blame] | 8 | android:layout_height="match_parent"> |
Matthew Williams | db6a3a8 | 2014-11-07 11:06:40 -0800 | [diff] [blame] | 9 | <LinearLayout |
Michael Kwan | febcfac | 2014-11-21 14:27:19 -0800 | [diff] [blame] | 10 | android:orientation="vertical" android:layout_width="match_parent" |
| 11 | android:layout_height="match_parent"> |
Matthew Williams | db6a3a8 | 2014-11-07 11:06:40 -0800 | [diff] [blame] | 12 | <TextView |
Michael Kwan | febcfac | 2014-11-21 14:27:19 -0800 | [diff] [blame] | 13 | android:layout_width="match_parent" |
Matthew Williams | db6a3a8 | 2014-11-07 11:06:40 -0800 | [diff] [blame] | 14 | android:layout_height="wrap_content" |
Michael Kwan | febcfac | 2014-11-21 14:27:19 -0800 | [diff] [blame] | 15 | android:text="@string/js_test_description" |
| 16 | android:layout_margin="@dimen/js_padding"/> |
Matthew Williams | db6a3a8 | 2014-11-07 11:06:40 -0800 | [diff] [blame] | 17 | |
Matthew Williams | db6a3a8 | 2014-11-07 11:06:40 -0800 | [diff] [blame] | 18 | <TextView |
Michael Kwan | febcfac | 2014-11-21 14:27:19 -0800 | [diff] [blame] | 19 | android:layout_width="match_parent" |
Matthew Williams | db6a3a8 | 2014-11-07 11:06:40 -0800 | [diff] [blame] | 20 | android:layout_height="wrap_content" |
Michael Kwan | febcfac | 2014-11-21 14:27:19 -0800 | [diff] [blame] | 21 | android:text="@string/js_connectivity_description_1" |
| 22 | android:layout_margin="@dimen/js_padding" |
| 23 | android:textStyle="bold"/> |
Matthew Williams | db6a3a8 | 2014-11-07 11:06:40 -0800 | [diff] [blame] | 24 | |
Michael Kwan | febcfac | 2014-11-21 14:27:19 -0800 | [diff] [blame] | 25 | <Button |
| 26 | android:id="@+id/js_connectivity_start_test_button" |
Matthew Williams | db6a3a8 | 2014-11-07 11:06:40 -0800 | [diff] [blame] | 27 | android:layout_width="wrap_content" |
| 28 | android:layout_height="wrap_content" |
Michael Kwan | febcfac | 2014-11-21 14:27:19 -0800 | [diff] [blame] | 29 | android:layout_gravity="center" |
| 30 | android:text="@string/js_start_test_text" |
| 31 | android:onClick="startTest" |
| 32 | android:enabled="false"/> |
Matthew Williams | db6a3a8 | 2014-11-07 11:06:40 -0800 | [diff] [blame] | 33 | |
Michael Kwan | febcfac | 2014-11-21 14:27:19 -0800 | [diff] [blame] | 34 | <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> |