123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- <?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:orientation="vertical">
- <RelativeLayout style="@style/defectRelView">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="隐患项"
- android:textColor="@color/black" />
- <TextView
- android:id="@+id/tvNext"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:textColor="@color/purple_fa"/>
- </RelativeLayout>
- <LinearLayout
- android:id="@+id/linOne"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:paddingLeft="10dp"
- android:visibility="gone">
- <View
- android:layout_width="match_parent"
- android:layout_height="0.2dp"
- android:background="@color/purple_a2a2a2a2" />
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="35dp"
- 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/tvHazardLevel"
- 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="0.2dp"
- android:background="@color/purple_a2a2a2a2" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="35dp"
- android:gravity="center_vertical"
- android:text="检查项目"
- android:textColor="@color/black" />
- <TextView
- android:id="@+id/tvHazardCheckProStr"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@drawable/ic_bgm_yin_huan" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="35dp"
- android:gravity="center_vertical"
- android:text="检查要点"
- android:textColor="@color/black" />
- <TextView
- android:id="@+id/tvHazardCheckPoint"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@drawable/ic_bgm_yin_huan" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="35dp"
- android:gravity="center_vertical"
- android:text="隐患描述"
- android:textColor="@color/black" />
- <TextView
- android:id="@+id/tvHazardDescribe"
- android:layout_width="match_parent"
- android:layout_height="wrap_content" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="35dp"
- android:gravity="center_vertical"
- android:text="隐患照片"
- android:textColor="@color/black" />
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/popView"
- android:layout_width="match_parent"
- android:layout_height="wrap_content" />
- </LinearLayout>
- <RelativeLayout
- android:id="@+id/relAway"
- android:layout_width="match_parent"
- android:layout_height="30dp">
- <TextView
- android:id="@+id/tv_away"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
- android:layout_centerVertical="true"
- android:gravity="center"
- android:text="展开"
- android:textColor="#A2A2A2" />
- <ImageView
- android:id="@+id/imgFre"
- android:layout_width="20dp"
- android:layout_height="20dp"
- android:layout_centerVertical="true"
- android:layout_toRightOf="@+id/tv_away"
- android:background="@mipmap/icon_xia" />
- </RelativeLayout>
- <RelativeLayout
- android:id="@+id/relAwayFla"
- android:layout_width="match_parent"
- android:layout_height="30dp"
- android:visibility="gone">
- <TextView
- android:id="@+id/tv_away_two"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
- android:layout_centerVertical="true"
- android:gravity="center"
- android:text="收起"
- android:textColor="#A2A2A2" />
- <ImageView
- android:layout_width="20dp"
- android:layout_height="20dp"
- android:layout_centerVertical="true"
- android:layout_toRightOf="@+id/tv_away_two"
- android:background="@mipmap/icon_shang" />
- </RelativeLayout>
- </LinearLayout>
|