<?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="vertical"> <include layout="@layout/include_base_title" /> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/layoutColor" android:orientation="vertical" android:padding="@dimen/padding_10dp"> <androidx.cardview.widget.CardView android:layout_width="match_parent" android:layout_height="wrap_content" app:cardCornerRadius="5dp"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" android:padding="@dimen/padding_10dp"> <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/margin_10dp"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="事件发生时间" android:textColor="@color/black" android:textSize="@dimen/textFontSize" /> <TextView android:id="@+id/createTimeView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentEnd="true" android:text="2021-07-12 09:47:56" android:textSize="@dimen/textFontSize" /> </RelativeLayout> <include layout="@layout/line" /> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/margin_10dp" android:orientation="vertical"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="事件说明" android:textColor="@color/black" android:textSize="@dimen/textFontSize" /> <TextView android:id="@+id/descriptionView" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentEnd="true" android:layout_marginTop="@dimen/margin_10dp" android:text="sssss" android:textSize="@dimen/textFontSize" /> </LinearLayout> </LinearLayout> </androidx.cardview.widget.CardView> <androidx.cardview.widget.CardView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/margin_10dp" app:cardCornerRadius="5dp"> <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:padding="@dimen/padding_10dp"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="最大泄露值" android:textColor="@color/black" android:textSize="@dimen/textFontSize" /> <TextView android:id="@+id/dataView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentEnd="true" android:text="63906" android:textSize="@dimen/textFontSize" /> </RelativeLayout> </androidx.cardview.widget.CardView> <androidx.cardview.widget.CardView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/margin_10dp" app:cardCornerRadius="5dp"> <LinearLayout android:id="@+id/imageLayout" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" android:padding="@dimen/padding_10dp"> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="图片:" android:textColor="@color/black" android:textSize="@dimen/textFontSize" /> <GridView android:id="@+id/imageGridView" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/margin_10dp" android:horizontalSpacing="@dimen/margin_10dp" android:numColumns="3" android:scrollbars="none" android:verticalSpacing="@dimen/margin_10dp" /> </LinearLayout> </androidx.cardview.widget.CardView> </LinearLayout> </LinearLayout>