1<?xml version="1.0" encoding="utf-8"?> 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" 4 android:layout_width="match_parent" 5 android:layout_height="match_parent"> 6 <ScrollView app:layout_box="all" 7 android:layout_width="match_parent" 8 android:layout_height="match_parent"> 9 <LinearLayout 10 android:orientation="vertical" 11 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 <TextView 19 android:layout_width="match_parent" 20 android:layout_height="wrap_content" 21 android:layout_margin="@dimen/js_padding" 22 android:text="@string/js_charging_description_1" 23 android:textStyle="bold"/> 24 <Button 25 android:id="@+id/js_charging_start_test_button" 26 android:layout_width="wrap_content" 27 android:layout_height="wrap_content" 28 android:layout_gravity="center" 29 android:text="@string/js_start_test_text" 30 android:onClick="startTest" 31 android:enabled="false"/> 32 33 <LinearLayout 34 android:layout_width="wrap_content" 35 android:layout_height="wrap_content" 36 android:layout_marginTop="@dimen/js_padding" 37 android:layout_marginBottom="@dimen/js_padding"> 38 <ImageView 39 android:id="@+id/charging_off_test_image" 40 android:layout_width="wrap_content" 41 android:layout_height="wrap_content" 42 android:src="@drawable/fs_indeterminate" 43 android:layout_marginRight="@dimen/js_padding"/> 44 <TextView 45 android:layout_width="wrap_content" 46 android:layout_height="wrap_content" 47 android:text="@string/js_charging_off_test" 48 android:textSize="16dp"/> 49 </LinearLayout> 50 <TextView 51 android:layout_width="match_parent" 52 android:layout_height="wrap_content" 53 android:layout_margin="@dimen/js_padding" 54 android:text="@string/js_charging_description_2" 55 android:textStyle="bold"/> 56 <LinearLayout 57 android:layout_width="wrap_content" 58 android:layout_height="wrap_content" 59 android:layout_marginTop="@dimen/js_padding" 60 android:layout_marginBottom="@dimen/js_padding"> 61 <ImageView 62 android:id="@+id/charging_on_test_image" 63 android:layout_width="wrap_content" 64 android:layout_height="wrap_content" 65 android:src="@drawable/fs_indeterminate" 66 android:layout_marginRight="@dimen/js_padding"/> 67 <TextView 68 android:layout_width="wrap_content" 69 android:layout_height="wrap_content" 70 android:text="@string/js_charging_on_test" 71 android:textSize="16dp"/> 72 </LinearLayout> 73 <include layout="@layout/pass_fail_buttons" /> 74 </LinearLayout> 75 </ScrollView> 76</android.support.wearable.view.BoxInsetLayout> 77