<?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:id="@+id/rootView" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/white" android:orientation="vertical"> <FrameLayout android:layout_width="match_parent" android:layout_height="wrap_content"> <View android:id="@+id/anchorView" android:layout_width="@dimen/titleViewHeight" android:layout_height="@dimen/titleViewHeight" android:layout_gravity="end" /> <com.pengxh.androidx.lite.widget.TitleBarView android:id="@+id/titleView" android:layout_width="match_parent" android:layout_height="wrap_content" app:tbv_left_image="@drawable/ic_left_black" app:tbv_right_image="@drawable/ic_more_black" app:tbv_show_right_image="true" app:tbv_smaller_title="true" app:tbv_text="管网管理" app:tbv_text_color="@color/mainTextColor" /> </FrameLayout> <include layout="@layout/include_line_view" /> <com.qmuiteam.qmui.widget.QMUIEmptyView android:id="@+id/emptyView" android:layout_width="match_parent" android:layout_height="match_parent" /> <com.scwang.smartrefresh.layout.SmartRefreshLayout android:id="@+id/refreshLayout" android:layout_width="match_parent" android:layout_height="match_parent"> <com.scwang.smartrefresh.layout.header.ClassicsHeader android:layout_width="match_parent" android:layout_height="wrap_content" /> <androidx.recyclerview.widget.RecyclerView android:id="@+id/warningRecyclerView" android:layout_width="match_parent" android:layout_height="wrap_content" app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" /> <com.scwang.smartrefresh.layout.footer.ClassicsFooter android:layout_width="match_parent" android:layout_height="wrap_content" /> </com.scwang.smartrefresh.layout.SmartRefreshLayout> </LinearLayout>