1<?xml version="1.0" encoding="utf-8"?> 2<com.android.cts.verifier.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:ctsv_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 <TextView 33 android:id="@+id/js_waiting_for_charging_text_view" 34 android:layout_width="match_parent" 35 android:layout_height="wrap_content" 36 android:layout_margin="@dimen/js_padding" 37 android:text="@string/js_charging_description_3" 38 android:textStyle="bold" 39 android:visibility="gone"/> 40 <com.android.cts.verifier.TimerProgressBar 41 android:id="@+id/js_waiting_for_charging_progress_bar" 42 style="?android:attr/progressBarStyleHorizontal" 43 android:layout_width="fill_parent" 44 android:layout_height="wrap_content" 45 android:layout_margin="@dimen/js_padding" 46 android:visibility="gone"/> 47 <TextView 48 android:id="@+id/js_problem_with_charger_text_view" 49 android:layout_width="match_parent" 50 android:layout_height="wrap_content" 51 android:layout_margin="@dimen/js_padding" 52 android:text="@string/js_charging_description_4" 53 android:textStyle="bold" 54 android:visibility="gone"/> 55 <LinearLayout 56 android:layout_width="wrap_content" 57 android:layout_height="wrap_content" 58 android:layout_marginTop="@dimen/js_padding" 59 android:layout_marginBottom="@dimen/js_padding"> 60 <ImageView 61 android:id="@+id/charging_on_test_image" 62 android:layout_width="wrap_content" 63 android:layout_height="wrap_content" 64 android:src="@drawable/fs_indeterminate" 65 android:layout_marginRight="@dimen/js_padding"/> 66 <TextView 67 android:layout_width="wrap_content" 68 android:layout_height="wrap_content" 69 android:text="@string/js_charging_on_test" 70 android:textSize="16dp"/> 71 </LinearLayout> 72 <TextView 73 android:layout_width="match_parent" 74 android:layout_height="wrap_content" 75 android:layout_margin="@dimen/js_padding" 76 android:text="@string/js_charging_description_2" 77 android:textStyle="bold"/> 78 <LinearLayout 79 android:layout_width="wrap_content" 80 android:layout_height="wrap_content" 81 android:layout_marginTop="@dimen/js_padding" 82 android:layout_marginBottom="@dimen/js_padding"> 83 <ImageView 84 android:id="@+id/charging_off_test_image" 85 android:layout_width="wrap_content" 86 android:layout_height="wrap_content" 87 android:src="@drawable/fs_indeterminate" 88 android:layout_marginRight="@dimen/js_padding"/> 89 <TextView 90 android:layout_width="wrap_content" 91 android:layout_height="wrap_content" 92 android:text="@string/js_charging_off_test" 93 android:textSize="16dp"/> 94 </LinearLayout> 95 <include layout="@layout/pass_fail_buttons" /> 96 </LinearLayout> 97 </ScrollView> 98</com.android.cts.verifier.BoxInsetLayout> 99