Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      3     android:layout_width="match_parent"
      4     android:layout_height="match_parent"
      5     android:orientation="vertical">
      6     <ScrollView
      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             <Button
     19                 android:id="@+id/js_idle_start_test_button"
     20                 android:layout_width="wrap_content"
     21                 android:layout_height="wrap_content"
     22                 android:layout_gravity="center"
     23                 android:text="@string/js_start_test_text"
     24                 android:onClick="startTest"
     25                 android:enabled="false"/>
     26             <TextView
     27                 android:id="@+id/js_idle_continue_instruction_view"
     28                 android:layout_width="match_parent"
     29                 android:layout_height="wrap_content"
     30                 android:text="@string/js_idle_continue_instruction"
     31                 android:layout_margin="@dimen/js_padding"
     32                 android:textStyle="bold"
     33                 android:visibility="gone"/>
     34 
     35             <LinearLayout
     36                 android:layout_width="wrap_content"
     37                 android:layout_height="wrap_content"
     38                 android:layout_marginTop="@dimen/js_padding"
     39                 android:layout_marginBottom="@dimen/js_padding">
     40                 <ImageView
     41                     android:id="@+id/idle_off_test_image"
     42                     android:layout_width="wrap_content"
     43                     android:layout_height="wrap_content"
     44                     android:src="@drawable/fs_indeterminate"
     45                     android:layout_marginRight="@dimen/js_padding"/>
     46                 <TextView
     47                     android:layout_width="wrap_content"
     48                     android:layout_height="wrap_content"
     49                     android:text="@string/js_idle_item_idle_off"
     50                     android:textSize="16dp"/>
     51             </LinearLayout>
     52             <LinearLayout
     53                 android:layout_width="wrap_content"
     54                 android:layout_height="wrap_content"
     55                 android:layout_marginTop="@dimen/js_padding"
     56                 android:layout_marginBottom="@dimen/js_padding">
     57                 <ImageView
     58                     android:id="@+id/idle_on_test_image"
     59                     android:layout_width="wrap_content"
     60                     android:layout_height="wrap_content"
     61                     android:src="@drawable/fs_indeterminate"
     62                     android:layout_marginRight="@dimen/js_padding"/>
     63                 <TextView
     64                     android:layout_width="wrap_content"
     65                     android:layout_height="wrap_content"
     66                     android:text="@string/js_idle_item_idle_on"
     67                     android:textSize="16dp"/>
     68             </LinearLayout>
     69             <include layout="@layout/pass_fail_buttons" />
     70         </LinearLayout>
     71     </ScrollView>
     72 </LinearLayout>
     73