Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <com.android.cts.verifier.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:ctsv_layout_box="all"
      7         android:layout_width="match_parent"
      8         android:layout_height="match_parent">
      9         <LinearLayout
     10             android:orientation="vertical" android:layout_width="match_parent"
     11             android:layout_height="match_parent">
     12             <TextView
     13                 android:layout_width="match_parent"
     14                 android:layout_height="wrap_content"
     15                 android:text="@string/js_test_description"
     16                 android:layout_margin="@dimen/js_padding"/>
     17 
     18             <TextView
     19                 android:layout_width="match_parent"
     20                 android:layout_height="wrap_content"
     21                 android:text="@string/js_connectivity_description_1"
     22                 android:layout_margin="@dimen/js_padding"
     23                 android:textStyle="bold"/>
     24 
     25             <Button
     26                 android:id="@+id/js_connectivity_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/connectivity_off_test_unmetered_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_unmetered_connectivity_test"
     49                     android:textSize="16dp"/>
     50             </LinearLayout>
     51 
     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/connectivity_off_test_any_connectivity_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_any_connectivity_test"
     67                     android:textSize="16dp"/>
     68             </LinearLayout>
     69 
     70             <LinearLayout
     71                 android:layout_width="wrap_content"
     72                 android:layout_height="wrap_content"
     73                 android:layout_marginTop="@dimen/js_padding"
     74                 android:layout_marginBottom="@dimen/js_padding">
     75                 <ImageView
     76                     android:id="@+id/connectivity_off_test_no_connectivity_image"
     77                     android:layout_width="wrap_content"
     78                     android:layout_height="wrap_content"
     79                     android:src="@drawable/fs_indeterminate"
     80                     android:layout_marginRight="@dimen/js_padding"/>
     81                 <TextView
     82                     android:layout_width="wrap_content"
     83                     android:layout_height="wrap_content"
     84                     android:text="@string/js_no_connectivity_test"
     85                     android:textSize="16dp"/>
     86             </LinearLayout>
     87 
     88             <include layout="@layout/pass_fail_buttons" />
     89         </LinearLayout>
     90     </ScrollView>
     91 </com.android.cts.verifier.BoxInsetLayout>
     92