123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/purple_f5"
- tools:context="com.zhong.inspection.ui.SecurityScanActivity">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_above="@+id/tv_inspect"
- android:layout_marginBottom="6dp"
- android:orientation="vertical">
- <include
- android:id="@+id/tool_bar"
- layout="@layout/title_toolbar" />
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="40dp"
- android:background="@color/white"
- android:paddingLeft="8dp"
- android:paddingRight="8dp">
- <LinearLayout
- android:id="@+id/lin1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:background="@drawable/ic_bgm_te_zhong"
- android:padding="2dp">
- <TextView
- android:id="@+id/tvTypeName"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingLeft="8dp"
- android:paddingRight="8dp"
- android:text="特种设备 | 一级"
- android:textColor="@color/black" />
- </LinearLayout>
- <TextView
- android:id="@+id/deptName"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="10dp"
- android:layout_toRightOf="@+id/lin1"
- android:text="环测学院-001"
- android:textColor="@color/black" />
- </RelativeLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="130dp"
- android:layout_marginTop="8dp"
- android:background="@color/white"
- android:orientation="vertical"
- android:paddingLeft="8dp"
- android:paddingRight="8dp">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="40dp"
- android:gravity="center_vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="责任单位:"
- android:textColor="@color/black" />
- <TextView
- android:id="@+id/responsibilityUnit"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:ellipsize="end"
- android:maxEms="15"
- android:singleLine="true"
- android:text="" />
- </RelativeLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="0.5dp"
- android:background="@color/purple_e0" />
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="40dp"
- android:gravity="center_vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="实验室负责人:"
- android:textColor="@color/black" />
- <TextView
- android:id="@+id/adminName"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:ellipsize="end"
- android:maxEms="15"
- android:singleLine="true"
- android:text="" />
- </RelativeLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="0.5dp"
- android:background="@color/purple_e0" />
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:gravity="center_vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="安全责任人:"
- android:textColor="@color/black" />
- <TextView
- android:id="@+id/safeUserNameAdminPhone"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:maxEms="10"
- android:maxLines="2"
- android:text="" />
- </RelativeLayout>
- </LinearLayout>
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/rvViews"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="8dp"
- android:background="@color/white"
- android:paddingLeft="@dimen/dp_10"
- android:paddingRight="@dimen/dp_10" />
- </LinearLayout>
- <TextView
- android:id="@+id/tv_inspect"
- android:layout_width="match_parent"
- android:layout_height="45dp"
- android:layout_alignParentBottom="true"
- android:background="@color/purple_fa"
- android:gravity="center"
- android:text="开展检查"
- android:textColor="@color/white" />
- </RelativeLayout>
|