| <?xml version="1.0" encoding="utf-8"?><!-- |
| Copyright (C) 2016 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| style="@style/RootLayoutPadding" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:orientation="vertical"> |
| |
| <ScrollView |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"> |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:orientation="vertical"> |
| <TextView |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_margin="@dimen/js_padding" |
| android:text="@string/js_test_description"/> |
| <TextView |
| android:id="@+id/charger_prompt" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_margin="@dimen/js_padding" |
| android:text="@string/js_charging_description_1" |
| android:textStyle="bold"/> |
| <Button |
| android:id="@+id/js_charging_start_test_button" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center" |
| android:enabled="false" |
| android:onClick="startTest" |
| android:text="@string/js_start_test_text"/> |
| <TextView |
| android:id="@+id/js_waiting_for_charging_text_view" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_margin="@dimen/js_padding" |
| android:text="@string/js_charging_description_3" |
| android:textStyle="bold" |
| android:visibility="gone"/> |
| <com.android.cts.verifier.TimerProgressBar |
| android:id="@+id/js_waiting_for_charging_progress_bar" |
| style="?android:attr/progressBarStyleHorizontal" |
| android:layout_width="fill_parent" |
| android:layout_height="wrap_content" |
| android:layout_margin="@dimen/js_padding" |
| android:visibility="gone"/> |
| <TextView |
| android:id="@+id/js_problem_with_charger_text_view" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_margin="@dimen/js_padding" |
| android:text="@string/js_charging_description_4" |
| android:textStyle="bold" |
| android:visibility="gone"/> |
| <LinearLayout |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginBottom="@dimen/js_padding" |
| android:layout_marginTop="@dimen/js_padding"> |
| <ImageView |
| android:id="@+id/charging_on_test_image" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginRight="@dimen/js_padding" |
| android:src="@drawable/fs_indeterminate"/> |
| <TextView |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/js_charging_on_test" |
| android:textSize="16dp"/> |
| </LinearLayout> |
| <TextView |
| android:id="@+id/unplug_prompt" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_margin="@dimen/js_padding" |
| android:text="@string/js_charging_description_2" |
| android:textStyle="bold"/> |
| <LinearLayout |
| android:id="@+id/unplug_test_description" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginBottom="@dimen/js_padding" |
| android:layout_marginTop="@dimen/js_padding"> |
| <ImageView |
| android:id="@+id/charging_off_test_image" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginRight="@dimen/js_padding" |
| android:src="@drawable/fs_indeterminate"/> |
| <TextView |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/js_charging_off_test" |
| android:textSize="16dp"/> |
| </LinearLayout> |
| <include layout="@layout/pass_fail_buttons"/> |
| </LinearLayout> |
| </ScrollView> |
| </LinearLayout> |