• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2
3<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
4    android:orientation="vertical" android:layout_width="match_parent"
5    android:layout_height="match_parent">
6    <TextView
7        android:layout_width="match_parent"
8        android:layout_height="wrap_content"
9        android:text="@string/js_test_description"
10        android:layout_margin="@dimen/js_padding"/>
11    <TextView
12        android:layout_width="match_parent"
13        android:layout_height="wrap_content"
14        android:layout_margin="@dimen/js_padding"
15        android:text="@string/js_charging_description_1"
16        android:textStyle="bold"/>
17    <Button
18        android:id="@+id/js_charging_start_test_button"
19        android:layout_width="wrap_content"
20        android:layout_height="wrap_content"
21        android:layout_gravity="center"
22        android:text="@string/js_start_test_text"
23        android:onClick="startTest"
24        android:enabled="false"/>
25
26    <LinearLayout
27        android:layout_width="wrap_content"
28        android:layout_height="wrap_content"
29        android:layout_marginTop="@dimen/js_padding"
30        android:layout_marginBottom="@dimen/js_padding">
31        <ImageView
32            android:id="@+id/charging_off_test_image"
33            android:layout_width="wrap_content"
34            android:layout_height="wrap_content"
35            android:src="@drawable/fs_indeterminate"
36            android:layout_marginRight="@dimen/js_padding"/>
37        <TextView
38            android:layout_width="wrap_content"
39            android:layout_height="wrap_content"
40            android:text="@string/js_charging_off_test"
41            android:textSize="16dp"/>
42    </LinearLayout>
43    <TextView
44        android:layout_width="match_parent"
45        android:layout_height="wrap_content"
46        android:layout_margin="@dimen/js_padding"
47        android:text="@string/js_charging_description_2"
48        android:textStyle="bold"/>
49    <LinearLayout
50        android:layout_width="wrap_content"
51        android:layout_height="wrap_content"
52        android:layout_marginTop="@dimen/js_padding"
53        android:layout_marginBottom="@dimen/js_padding">
54        <ImageView
55            android:id="@+id/charging_on_test_image"
56            android:layout_width="wrap_content"
57            android:layout_height="wrap_content"
58            android:src="@drawable/fs_indeterminate"
59            android:layout_marginRight="@dimen/js_padding"/>
60        <TextView
61            android:layout_width="wrap_content"
62            android:layout_height="wrap_content"
63            android:text="@string/js_charging_on_test"
64            android:textSize="16dp"/>
65    </LinearLayout>
66    <include layout="@layout/pass_fail_buttons" />
67</LinearLayout>