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