|
@@ -10,207 +10,241 @@
|
|
</data>
|
|
</data>
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
|
+ android:id="@+id/ll_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="start"
|
|
android:layout_gravity="start"
|
|
- android:background="@color/color_white"
|
|
|
|
|
|
+ android:background="@drawable/icon_envent_bg"
|
|
|
|
+ android:fadeScrollbars="true"
|
|
|
|
+ android:fitsSystemWindows="true"
|
|
android:orientation="vertical">
|
|
android:orientation="vertical">
|
|
|
|
|
|
- <RelativeLayout
|
|
|
|
|
|
+ <FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="40dp"
|
|
|
|
- android:background="@color/colorPrimary">
|
|
|
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
|
- <TextView
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:gravity="center_horizontal|center_vertical"
|
|
|
|
- android:text="事件"
|
|
|
|
- android:textColor="@color/white"
|
|
|
|
- android:textSize="18dp" />
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
- android:layout_width="60dp"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:layout_alignParentRight="true"
|
|
|
|
- android:layout_marginRight="15dp"
|
|
|
|
- android:gravity="center_vertical|right"
|
|
|
|
- android:text="上报"
|
|
|
|
- android:id="@+id/report"
|
|
|
|
- android:textColor="@color/white"
|
|
|
|
- android:textSize="16dp">
|
|
|
|
-
|
|
|
|
- </TextView>
|
|
|
|
- </RelativeLayout>
|
|
|
|
-
|
|
|
|
- <LinearLayout
|
|
|
|
- android:focusable="true"
|
|
|
|
- android:focusableInTouchMode="true"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:gravity="center_vertical"
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
- android:padding="12dp">
|
|
|
|
-
|
|
|
|
- <EditText
|
|
|
|
- android:id="@+id/input_et"
|
|
|
|
|
|
+ <ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="30dp"
|
|
|
|
- android:layout_weight="1"
|
|
|
|
- android:background="@drawable/shape_bg_gray_input"
|
|
|
|
- android:drawableLeft="@drawable/icon_search"
|
|
|
|
- android:drawablePadding="5dp"
|
|
|
|
- android:ellipsize="end"
|
|
|
|
- android:hint="@string/input_content"
|
|
|
|
- android:lines="1"
|
|
|
|
- android:paddingLeft="10dp"
|
|
|
|
- android:paddingRight="10dp"
|
|
|
|
- android:singleLine="true"
|
|
|
|
- android:textColor="@color/color_black_text"
|
|
|
|
- android:textColorHint="@color/color_gray_light_text"
|
|
|
|
- android:textSize="12dp" />
|
|
|
|
-
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/search_tv"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
|
- android:text="@string/search"
|
|
|
|
- android:textColor="@color/main_blue_color"
|
|
|
|
- android:textSize="14dp" />
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
+ android:layout_height="wrap_content"></ImageView>
|
|
|
|
|
|
- <LinearLayout
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="44dp"
|
|
|
|
- android:background="@color/line_gray_1"
|
|
|
|
-
|
|
|
|
- android:gravity="center_vertical">
|
|
|
|
-
|
|
|
|
- <LinearLayout
|
|
|
|
- android:id="@+id/ll_serch"
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
- android:layout_height="30dp"
|
|
|
|
- android:layout_marginLeft="15dp"
|
|
|
|
- android:layout_weight="1"
|
|
|
|
- android:background="@drawable/shape_background_white_5"
|
|
|
|
- android:gravity="center_vertical|center_horizontal"
|
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="40dp">
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:gravity="center_horizontal|center_vertical"
|
|
|
|
+ android:text="事件列表"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textSize="18dp" />
|
|
|
|
|
|
-
|
|
|
|
- android:id="@+id/tv_serch"
|
|
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/iv_serch"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
- android:layout_height="match_parent"
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
|
+ android:layout_centerVertical="true"
|
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
|
+ android:background="@drawable/icon_serch"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ android:textSize="16dp">
|
|
|
|
|
|
|
|
+ </ImageView>
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
- android:gravity="center_vertical|center_horizontal"
|
|
|
|
- android:text="条件筛选"
|
|
|
|
- android:maxEms="4"
|
|
|
|
- android:singleLine="true"
|
|
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:focusable="true"
|
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
+ android:padding="12dp"
|
|
|
|
+ android:visibility="gone">
|
|
|
|
+
|
|
|
|
+ <EditText
|
|
|
|
+ android:id="@+id/input_et"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="30dp"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:background="@drawable/shape_bg_gray_input"
|
|
|
|
+ android:drawableLeft="@drawable/icon_search"
|
|
|
|
+ android:drawablePadding="5dp"
|
|
android:ellipsize="end"
|
|
android:ellipsize="end"
|
|
- android:textColor="@color/black" />
|
|
|
|
|
|
+ android:hint="@string/input_content"
|
|
|
|
+ android:lines="1"
|
|
|
|
+ android:paddingLeft="10dp"
|
|
|
|
+ android:paddingRight="10dp"
|
|
|
|
+ android:singleLine="true"
|
|
|
|
+ android:textColor="@color/color_black_text"
|
|
|
|
+ android:textColorHint="@color/color_gray_light_text"
|
|
|
|
+ android:textSize="12dp" />
|
|
|
|
|
|
- <ImageView
|
|
|
|
- android:id="@+id/iv_s"
|
|
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/search_tv"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
-
|
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:layout_gravity="center_vertical"
|
|
|
|
- android:layout_marginLeft="5dp"
|
|
|
|
- android:background="@drawable/icon_arrow_right" />
|
|
|
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
|
+ android:text="@string/search"
|
|
|
|
+ android:textColor="@color/main_blue_color"
|
|
|
|
+ android:textSize="14dp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
- android:id="@+id/ll_time"
|
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="44dp"
|
|
|
|
+ android:background="@color/line_gray_1"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+
|
|
|
|
+ android:visibility="gone">
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/ll_serch"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="30dp"
|
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:background="@drawable/shape_background_white_5"
|
|
|
|
+ android:gravity="center_vertical|center_horizontal"
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
- android:layout_height="30dp"
|
|
|
|
- android:layout_marginLeft="15dp"
|
|
|
|
- android:layout_weight="1"
|
|
|
|
- android:background="@drawable/shape_background_white_5"
|
|
|
|
- android:gravity="center_vertical|center_horizontal"
|
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
|
+ <TextView
|
|
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/tv_startTime"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
|
|
|
- android:gravity="center_vertical|center_horizontal"
|
|
|
|
- android:text="时间筛选"
|
|
|
|
- android:textColor="@color/black" />
|
|
|
|
|
|
+ android:id="@+id/tv_serch"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
|
- <ImageView
|
|
|
|
- android:id="@+id/iv_t"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
|
- android:layout_marginLeft="5dp"
|
|
|
|
- android:background="@drawable/icon_arrow_right" />
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
|
|
- <LinearLayout
|
|
|
|
- android:id="@+id/ll_chongzhi"
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
- android:layout_height="30dp"
|
|
|
|
|
|
+ android:ellipsize="end"
|
|
|
|
+ android:gravity="center_vertical|center_horizontal"
|
|
|
|
+ android:maxEms="4"
|
|
|
|
+ android:singleLine="true"
|
|
|
|
+ android:text="条件筛选"
|
|
|
|
+ android:textColor="@color/black" />
|
|
|
|
|
|
- android:layout_marginLeft="15dp"
|
|
|
|
- android:layout_marginRight="15dp"
|
|
|
|
- android:layout_weight="1"
|
|
|
|
- android:background="@drawable/shape_background_white_5"
|
|
|
|
- android:gravity="center_vertical|center_horizontal"
|
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/iv_s"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
|
+ android:background="@drawable/icon_arrow_right" />
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/tv_chongzhi"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/ll_time"
|
|
|
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="30dp"
|
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:background="@drawable/shape_background_white_5"
|
|
|
|
+ android:gravity="center_vertical|center_horizontal"
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_startTime"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+
|
|
|
|
+ android:gravity="center_vertical|center_horizontal"
|
|
|
|
+ android:text="时间筛选"
|
|
|
|
+ android:textColor="@color/black" />
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/iv_t"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
|
+ android:background="@drawable/icon_arrow_right" />
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/ll_chongzhi"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="30dp"
|
|
|
|
+
|
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
|
+ android:layout_weight="1"
|
|
android:background="@drawable/shape_background_white_5"
|
|
android:background="@drawable/shape_background_white_5"
|
|
android:gravity="center_vertical|center_horizontal"
|
|
android:gravity="center_vertical|center_horizontal"
|
|
- android:text="重置筛选"
|
|
|
|
- android:textColor="@color/black" />
|
|
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <ImageView
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
|
|
|
|
|
- android:layout_marginLeft="5dp"
|
|
|
|
- android:background="@drawable/icon_arrow_right" />
|
|
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_chongzhi"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+
|
|
|
|
+ android:background="@drawable/shape_background_white_5"
|
|
|
|
+ android:gravity="center_vertical|center_horizontal"
|
|
|
|
+ android:text="重置筛选"
|
|
|
|
+ android:textColor="@color/black" />
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+
|
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
|
+ android:background="@drawable/icon_arrow_right" />
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-<!-- <com.google.android.material.tabs.TabLayout-->
|
|
|
|
-<!-- android:id="@+id/tabLayout"-->
|
|
|
|
-<!-- android:layout_width="match_parent"-->
|
|
|
|
-<!-- android:layout_height="wrap_content"-->
|
|
|
|
-<!-- app:tabGravity="fill"-->
|
|
|
|
-<!-- app:tabIndicatorColor="@color/main_blue_color"-->
|
|
|
|
-<!-- app:tabIndicatorFullWidth="false"-->
|
|
|
|
-<!-- app:tabIndicatorHeight="2dp"-->
|
|
|
|
-<!-- app:tabMode="fixed"-->
|
|
|
|
-<!-- app:tabRippleColor="@android:color/transparent"-->
|
|
|
|
-<!-- app:tabSelectedTextColor="@color/main_blue_color"-->
|
|
|
|
-<!-- app:tabTextAppearance="@style/TabLayoutStyle"-->
|
|
|
|
-<!-- app:tabTextColor="@color/color_gray_text" />-->
|
|
|
|
-
|
|
|
|
- <com.scwang.smartrefresh.layout.SmartRefreshLayout
|
|
|
|
- android:id="@+id/smartRefreshLayout"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:background="@color/color_white">
|
|
|
|
|
|
|
|
- <androidx.recyclerview.widget.RecyclerView android:overScrollMode="never"
|
|
|
|
- android:id="@+id/recyclerView"
|
|
|
|
|
|
+ <LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="match_parent" />
|
|
|
|
- </com.scwang.smartrefresh.layout.SmartRefreshLayout>
|
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <com.google.android.material.tabs.TabLayout
|
|
|
|
+ android:id="@+id/tabLayout"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginTop="50dp"
|
|
|
|
+ app:tabGravity="fill"
|
|
|
|
+ app:tabIndicatorColor="@color/white"
|
|
|
|
+ app:tabIndicatorFullWidth="false"
|
|
|
|
+ app:tabIndicatorHeight="4dp"
|
|
|
|
+ app:tabMode="fixed"
|
|
|
|
+ app:tabRippleColor="@android:color/transparent"
|
|
|
|
+ app:tabSelectedTextColor="@color/white"
|
|
|
|
+ app:tabTextAppearance="@style/TabLayoutStyle"
|
|
|
|
+ app:tabTextColor="@color/color_tab_text" />
|
|
|
|
+
|
|
|
|
+ <com.scwang.smartrefresh.layout.SmartRefreshLayout
|
|
|
|
+ android:id="@+id/smartRefreshLayout"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ app:srlAccentColor="@android:color/white"
|
|
|
|
+ app:srlPrimaryColor="@color/white">
|
|
|
|
+
|
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
|
+ android:id="@+id/recyclerView"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:overScrollMode="never" />
|
|
|
|
+ </com.scwang.smartrefresh.layout.SmartRefreshLayout>
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="end|bottom"
|
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
|
+ android:layout_marginBottom="40dp"
|
|
|
|
+ android:background="@drawable/icon_submit"></ImageView>
|
|
|
|
+
|
|
|
|
+ </FrameLayout>
|
|
|
|
+
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|