123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268 |
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/purple_f5"
- android:orientation="vertical"
- tools:context="com.zhong.inspection.ui.HazardInspectionFragment">
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <RelativeLayout
- style="@style/defectRelView"
- android:layout_marginTop="6dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="学院:" />
- <TextView
- android:id="@+id/tv_collegeName"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:textColor="@color/black" />
- </RelativeLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/purple_d8" />
- <RelativeLayout style="@style/defectRelView">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="实验室:" />
- <TextView
- android:id="@+id/tv_subjectName"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:textColor="@color/black" />
- </RelativeLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/purple_d8" />
- <RelativeLayout style="@style/defectRelView">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="楼栋:" />
- <TextView
- android:id="@+id/tv_buildName"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:textColor="@color/black" />
- </RelativeLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/purple_d8" />
- <RelativeLayout style="@style/defectRelView">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="检查组织:" />
- <TextView
- android:id="@+id/tv_organization"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:text="实验室自查"
- android:textColor="@color/black" />
- </RelativeLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/purple_d8" />
- <RelativeLayout style="@style/defectRelView">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="检查范围:" />
- <TextView
- android:id="@+id/tv_examType"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:text="实验室"
- android:textColor="@color/black" />
- </RelativeLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/purple_d8" />
- <RelativeLayout style="@style/defectRelView">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="计划标题:" />
- <TextView
- android:id="@+id/tv_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:maxLines="1"
- android:ellipsize="end"
- android:maxEms="30"
- android:layout_alignParentRight="true"
- android:textColor="@color/black" />
- </RelativeLayout>
- <RelativeLayout
- style="@style/defectRelView"
- android:layout_marginTop="10dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="检查结果:" />
- <TextView
- android:id="@+id/tv_checkResult"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:text="不符合"
- android:textColor="@color/black" />
- </RelativeLayout>
- <RelativeLayout style="@style/defectRelView">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="整改期限:" />
- <TextView
- android:id="@+id/tv_rectifyDeadline"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:textColor="@color/black" />
- </RelativeLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/purple_d8" />
- <RelativeLayout style="@style/defectRelView">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="整改通知:" />
- <TextView
- android:id="@+id/rectifyNotice"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="111"
- android:layout_alignParentRight="true"
- android:textColor="@color/black" />
- </RelativeLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/purple_d8" />
- <RelativeLayout style="@style/defectRelView">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="检查者:" />
- <TextView
- android:id="@+id/tv_checkUser"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:textColor="@color/black" />
- </RelativeLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/purple_d8" />
- <RelativeLayout style="@style/defectRelView">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="检查时间:" />
- <TextView
- android:id="@+id/tv_checkTime"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:textColor="@color/black" />
- </RelativeLayout>
- <RelativeLayout
- android:id="@+id/rel_view"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="6dp"
- android:layout_marginRight="10dp"
- android:background="@color/white"
- android:paddingLeft="10dp">
- <TextView
- android:id="@+id/tv_hazard_name"
- android:layout_width="match_parent"
- android:layout_height="38dp"
- android:layout_marginTop="8dp"
- android:gravity="center_vertical"
- android:text="烘箱-H1002"
- android:textColor="@color/black" />
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:layout_centerVertical="true"
- android:background="@mipmap/icon_kzjc_zk"
- android:gravity="center_vertical"
- android:padding="8dp" />
- </RelativeLayout>
- <include
- android:id="@+id/icnView"
- layout="@layout/item_hazard_view" />
- </LinearLayout>
- </ScrollView>
- </LinearLayout>
|