<?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/mainBackColor" android:orientation="vertical"> <com.pengxh.kt.lite.widget.TitleBarView android:id="@+id/titleView" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/mainThemeColor" app:tbv_left_image="@drawable/ic_title_left" app:tbv_only_show_title="false" app:tbv_show_left_image="true" app:tbv_show_right_image="false" app:tbv_text="布防列表" app:tbv_text_color="@color/white" app:tbv_text_size="@dimen/sp_18" /> <include android:id="@+id/emptyInclude" layout="@layout/include_empty_view" /> <com.scwang.smartrefresh.layout.SmartRefreshLayout android:id="@+id/deployedRefreshLayout" 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/deployedListView" 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>