1<?xml version="1.0" encoding="utf-8"?> 2<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:fitsSystemWindows="true" 4 style="@style/RootLayoutPadding" 5 android:layout_width="match_parent" 6 android:layout_height="match_parent" 7 android:orientation="vertical"> 8 <ScrollView 9 android:layout_width="match_parent" 10 android:layout_height="match_parent"> 11 <LinearLayout 12 android:orientation="vertical" 13 android:layout_width="match_parent" 14 android:layout_height="match_parent"> 15 <TextView 16 android:layout_width="match_parent" 17 android:layout_height="wrap_content" 18 android:text="@string/js_test_description" 19 android:layout_margin="@dimen/js_padding"/> 20 <TextView 21 android:id="@+id/charger_prompt" 22 android:layout_width="match_parent" 23 android:layout_height="wrap_content" 24 android:layout_margin="@dimen/js_padding" 25 android:text="@string/js_charging_description_1" 26 android:textStyle="bold"/> 27 <Button 28 android:id="@+id/js_charging_start_test_button" 29 android:layout_width="wrap_content" 30 android:layout_height="wrap_content" 31 android:layout_gravity="center" 32 android:text="@string/js_start_test_text" 33 android:onClick="startTest" 34 android:enabled="false"/> 35 <TextView 36 android:id="@+id/js_waiting_for_charging_text_view" 37 android:layout_width="match_parent" 38 android:layout_height="wrap_content" 39 android:layout_margin="@dimen/js_padding" 40 android:text="@string/js_charging_description_3" 41 android:textStyle="bold" 42 android:visibility="gone"/> 43 <com.android.cts.verifier.TimerProgressBar 44 android:id="@+id/js_waiting_for_charging_progress_bar" 45 style="?android:attr/progressBarStyleHorizontal" 46 android:layout_width="fill_parent" 47 android:layout_height="wrap_content" 48 android:layout_margin="@dimen/js_padding" 49 android:visibility="gone"/> 50 <TextView 51 android:id="@+id/js_problem_with_charger_text_view" 52 android:layout_width="match_parent" 53 android:layout_height="wrap_content" 54 android:layout_margin="@dimen/js_padding" 55 android:text="@string/js_charging_description_4" 56 android:textStyle="bold" 57 android:visibility="gone"/> 58 <LinearLayout 59 android:layout_width="wrap_content" 60 android:layout_height="wrap_content" 61 android:layout_marginTop="@dimen/js_padding" 62 android:layout_marginBottom="@dimen/js_padding"> 63 <ImageView 64 android:id="@+id/charging_on_test_image" 65 android:layout_width="wrap_content" 66 android:layout_height="wrap_content" 67 android:src="@drawable/fs_indeterminate" 68 android:layout_marginRight="@dimen/js_padding"/> 69 <TextView 70 android:layout_width="wrap_content" 71 android:layout_height="wrap_content" 72 android:text="@string/js_charging_on_test" 73 android:textSize="16dp"/> 74 </LinearLayout> 75 <TextView 76 android:id="@+id/unplug_prompt" 77 android:layout_width="match_parent" 78 android:layout_height="wrap_content" 79 android:layout_margin="@dimen/js_padding" 80 android:text="@string/js_charging_description_2" 81 android:textStyle="bold"/> 82 <LinearLayout 83 android:id="@+id/unplug_test_description" 84 android:layout_width="wrap_content" 85 android:layout_height="wrap_content" 86 android:layout_marginTop="@dimen/js_padding" 87 android:layout_marginBottom="@dimen/js_padding"> 88 <ImageView 89 android:id="@+id/charging_off_test_image" 90 android:layout_width="wrap_content" 91 android:layout_height="wrap_content" 92 android:src="@drawable/fs_indeterminate" 93 android:layout_marginRight="@dimen/js_padding"/> 94 <TextView 95 android:layout_width="wrap_content" 96 android:layout_height="wrap_content" 97 android:text="@string/js_charging_off_test" 98 android:textSize="16dp"/> 99 </LinearLayout> 100 <include layout="@layout/pass_fail_buttons" /> 101 </LinearLayout> 102 </ScrollView> 103</LinearLayout> 104