123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/purple_f5"
- android:orientation="vertical"
- android:paddingLeft="6dp"
- android:paddingTop="6dp"
- android:paddingRight="6dp">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="55dp"
- android:background="@color/white">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
- android:layout_centerVertical="true"
- android:text="不符合项"
- android:textColor="@color/black" />
- <ImageView
- android:id="@+id/img_delete"
- android:layout_width="25dp"
- android:layout_height="25dp"
- android:layout_alignParentRight="true"
- android:layout_centerVertical="true"
- android:layout_marginRight="10dp"
- android:background="@mipmap/icon_delete_1" />
- </RelativeLayout>
- <TextView
- android:layout_width="match_parent"
- android:layout_height="35dp"
- android:layout_marginTop="10dp"
- android:background="@color/white"
- android:gravity="center_vertical"
- android:text="隐患等级"
- android:textColor="@color/black" />
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="35dp"
- android:background="@color/white">
- <Spinner
- android:id="@+id/spinner_view"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_centerVertical="true"
- android:background="@drawable/ic_bgm_edit_user"
- android:entries="@array/spinnerclass" />
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:layout_centerVertical="true"
- android:layout_marginRight="10dp"
- android:background="@mipmap/icon_kzjc_zk" />
- </RelativeLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/white"
- android:gravity="center_vertical"
- android:orientation="vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="30dp"
- android:gravity="center_vertical"
- android:text="检查项目"
- android:textColor="@color/black" />
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <TextView
- android:id="@+id/tv_check_name"
- android:layout_width="match_parent"
- android:layout_height="35dp"
- android:layout_centerVertical="true"
- android:background="@drawable/ic_bgm_edit_user"
- android:entries="@array/spinnerclass"
- android:gravity="center_vertical"
- android:textColor="@color/black" />
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:layout_centerVertical="true"
- android:layout_marginRight="10dp"
- android:background="@mipmap/icon_kzjc_zk" />
- </RelativeLayout>
- <RelativeLayout
- android:id="@+id/lin_count"
- android:layout_width="match_parent"
- android:layout_height="38dp"
- android:gravity="center_vertical"
- android:visibility="gone">
- <TextView
- android:id="@+id/tv_1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="此检查项在当前实验室累计出现"
- android:textColor="@color/black" />
- <TextView
- android:id="@+id/tv_hazard_count"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_toRightOf="@+id/tv_1"
- android:textColor="@color/purple_ff00" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_toRightOf="@+id/tv_hazard_count"
- android:text="次隐患"
- android:textColor="@color/black" />
- </RelativeLayout>
- </LinearLayout>
- <TextView
- android:layout_width="match_parent"
- android:layout_height="35dp"
- android:background="@color/white"
- android:gravity="center_vertical"
- android:text="检查项目"
- android:textColor="@color/black"
- android:visibility="gone" />
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="35dp"
- android:background="@color/white"
- android:orientation="horizontal"
- android:visibility="gone">
- <Spinner
- android:id="@+id/sr_view_one"
- android:layout_width="100dp"
- android:layout_height="match_parent"
- android:layout_centerVertical="true"
- android:layout_weight="1"
- android:background="@drawable/ic_bgm_edit_user" />
- <Spinner
- android:id="@+id/sr_view_two"
- android:layout_width="100dp"
- android:layout_height="match_parent"
- android:layout_centerVertical="true"
- android:layout_weight="1"
- android:background="@drawable/ic_bgm_edit_user" />
- <Spinner
- android:id="@+id/sr_view_three"
- android:layout_width="100dp"
- android:layout_height="match_parent"
- android:layout_centerVertical="true"
- android:layout_weight="1"
- android:background="@drawable/ic_bgm_edit_user" />
- <Spinner
- android:id="@+id/sr_view_four"
- android:layout_width="100dp"
- android:layout_height="match_parent"
- android:layout_centerVertical="true"
- android:layout_weight="1"
- android:background="@drawable/ic_bgm_edit_user" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/white"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="35dp"
- android:background="@color/white"
- android:gravity="center_vertical"
- android:text="检查要点"
- android:textColor="@color/black" />
- <EditText
- android:id="@+id/ed_ke_point"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@drawable/shape_item_1"
- android:gravity="start"
- android:maxLength="1000"
- android:hint="未查到此项检查要点,可在此输入添加"
- android:padding="6dp"
- android:textSize="14sp" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="35dp"
- android:background="@color/white"
- android:gravity="center_vertical"
- android:text="隐患描述"
- android:textColor="@color/black" />
- <EditText
- android:id="@+id/ed_hazard_describe"
- android:layout_width="match_parent"
- android:layout_height="95dp"
- android:background="@drawable/shape_item_1"
- android:gravity="start"
- android:hint="请输入描述内容"
- android:padding="6dp"
- android:textSize="14sp" />
- </LinearLayout>
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="35dp"
- android:background="@color/white">
- <TextView
- android:id="@+id/tv_01"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:text="隐患照片"
- android:textColor="@color/black" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="10dp"
- android:layout_toRightOf="@+id/tv_01"
- android:text="最多上传5张"
- android:textSize="13sp" />
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="110dp"
- android:background="@color/white">
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/img_rv_recycler"
- android:layout_width="match_parent"
- android:layout_height="110dp" />
- </RelativeLayout>
- <LinearLayout
- android:id="@+id/linTwos"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/white"
- android:orientation="vertical">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="35dp"
- android:layout_marginTop="10dp"
- android:background="@color/white">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:text="语音备注"
- android:textColor="@color/black" />
- <TextView
- android:id="@+id/tvTalk"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_alignParentRight="true"
- android:layout_centerVertical="true"
- android:background="@drawable/ic_bgm_login_but"
- android:gravity="center_vertical"
- android:paddingLeft="10dp"
- android:paddingRight="10dp"
- android:text="按住说话"
- android:textColor="@color/white" />
- </RelativeLayout>
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/voice_recycler_view"
- android:layout_width="match_parent"
- android:padding="6dp"
- android:visibility="gone"
- android:layout_height="wrap_content"
- android:layout_marginTop="4dp"
- android:background="@drawable/shape_item_1" />
- </LinearLayout>
- </LinearLayout>
|