<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal"> <androidx.cardview.widget.CardView android:layout_width="0dp" android:layout_height="match_parent" android:layout_marginStart="@dimen/dp_10" android:layout_marginTop="@dimen/dp_15" android:layout_marginBottom="@dimen/dp_10" android:layout_weight="1" app:cardCornerRadius="@dimen/dp_10" app:cardElevation="@dimen/dp_5" app:cardUseCompatPadding="true"> <androidx.core.widget.NestedScrollView android:layout_width="match_parent" android:layout_height="wrap_content"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginHorizontal="@dimen/dp_10" android:orientation="vertical"> <RelativeLayout style="@style/itemLayoutStyle"> <TextView style="@style/textViewStyle" android:text="报警编号" /> <TextView android:id="@+id/alarmCodeView" style="@style/detailTextViewStyle" /> </RelativeLayout> <include layout="@layout/include_line_view" /> <RelativeLayout style="@style/itemLayoutStyle"> <TextView style="@style/textViewStyle" android:text="报警时间" /> <TextView android:id="@+id/alarmTimeView" style="@style/detailTextViewStyle" /> </RelativeLayout> <include layout="@layout/include_line_view" /> <RelativeLayout style="@style/itemLayoutStyle"> <TextView style="@style/textViewStyle" android:text="报警点经纬度" /> <TextView android:id="@+id/latLngView" style="@style/detailTextViewStyle" /> </RelativeLayout> <include layout="@layout/include_line_view" /> <RelativeLayout style="@style/itemLayoutStyle"> <TextView style="@style/textViewStyle" android:text="报警点位置" /> <TextView android:id="@+id/locationView" style="@style/detailTextViewStyle" /> </RelativeLayout> <include layout="@layout/include_line_view" /> <RelativeLayout style="@style/itemLayoutStyle"> <TextView style="@style/textViewStyle" android:text="巡检任务编号" /> <TextView android:id="@+id/taskCodeView" style="@style/detailTextViewStyle" /> </RelativeLayout> <include layout="@layout/include_line_view" /> <RelativeLayout style="@style/itemLayoutStyle"> <TextView style="@style/textViewStyle" android:text="巡检任务名称" /> <TextView android:id="@+id/taskNameView" style="@style/detailTextViewStyle" /> </RelativeLayout> <include layout="@layout/include_line_view" /> <RelativeLayout style="@style/itemLayoutStyle"> <TextView style="@style/textViewStyle" android:text="巡检车牌号" /> <TextView android:id="@+id/carNumberView" style="@style/detailTextViewStyle" /> </RelativeLayout> <include layout="@layout/include_line_view" /> <RelativeLayout style="@style/itemLayoutStyle"> <TextView style="@style/textViewStyle" android:text="云台型号" /> <TextView android:id="@+id/deviceModelView" style="@style/detailTextViewStyle" /> </RelativeLayout> <include layout="@layout/include_line_view" /> <RelativeLayout style="@style/itemLayoutStyle"> <TextView style="@style/textViewStyle" android:text="报警状态" /> <TextView android:id="@+id/alarmStateView" style="@style/detailTextViewStyle" /> </RelativeLayout> <include layout="@layout/include_line_view" /> <RelativeLayout style="@style/itemLayoutStyle"> <TextView style="@style/textViewStyle" android:text="处置时间" /> <TextView android:id="@+id/handleTimeView" style="@style/detailTextViewStyle" /> </RelativeLayout> <include layout="@layout/include_line_view" /> <RelativeLayout style="@style/itemLayoutStyle"> <TextView style="@style/textViewStyle" android:text="处置原因" /> <TextView android:id="@+id/reasonView" style="@style/detailTextViewStyle" /> </RelativeLayout> </LinearLayout> </androidx.core.widget.NestedScrollView> </androidx.cardview.widget.CardView> <LinearLayout android:layout_width="0dp" android:layout_height="match_parent" android:layout_marginHorizontal="@dimen/dp_10" android:layout_marginTop="@dimen/dp_15" android:layout_marginBottom="@dimen/dp_10" android:layout_weight="1" android:orientation="vertical"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginVertical="@dimen/dp_10" android:gravity="center_vertical" android:orientation="horizontal"> <View android:layout_width="@dimen/dp_7" android:layout_height="@dimen/dp_35" android:background="@drawable/task_fgmt_line" /> <RelativeLayout android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginHorizontal="@dimen/dp_7" android:layout_weight="1"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="报警视频" android:textColor="@color/black" android:textSize="@dimen/sp_20" /> <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton android:id="@+id/returnButton" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentEnd="true" android:layout_centerVertical="true" android:paddingHorizontal="@dimen/dp_15" android:paddingVertical="@dimen/dp_3" android:text="返回" android:textColor="@color/white" app:qmui_backgroundColor="@color/themeColor" app:qmui_borderWidth="0dp" app:qmui_radius="@dimen/dp_3" /> </RelativeLayout> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <ImageView android:id="@+id/emptyImageView" android:layout_width="match_parent" android:layout_height="match_parent" /> <com.shuyu.gsyvideoplayer.video.StandardGSYVideoPlayer android:id="@+id/videoPlayerView" android:layout_width="match_parent" android:layout_height="match_parent" android:visibility="gone" /> </LinearLayout> </LinearLayout> </LinearLayout>