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