<?xml version="1.0" encoding="utf-8"?>
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
android:background="@color/page_bg">
|
<androidx.recyclerview.widget.RecyclerView
|
android:layout_width="100dp"
|
android:layout_height="match_parent"
|
app:layout_constraintStart_toStartOf="parent"
|
android:id="@+id/rv_type"/>
|
<com.scwang.smart.refresh.layout.SmartRefreshLayout
|
android:id="@+id/refreshLayout"
|
android:layout_width="0dp"
|
app:layout_constraintStart_toEndOf="@id/rv_type"
|
app:layout_constraintEnd_toEndOf="parent"
|
android:layout_height="match_parent">
|
<com.scwang.smart.refresh.header.ClassicsHeader
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"/>
|
<androidx.recyclerview.widget.RecyclerView
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:id="@+id/rv_list" />
|
<com.scwang.smart.refresh.footer.ClassicsFooter
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"/>
|
</com.scwang.smart.refresh.layout.SmartRefreshLayout>
|
<TextView
|
android:id="@+id/tv_empty"
|
android:visibility="gone"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintStart_toStartOf="@id/refreshLayout"
|
app:layout_constraintEnd_toEndOf="@id/refreshLayout"
|
app:layout_constraintTop_toTopOf="@id/refreshLayout"
|
app:layout_constraintBottom_toBottomOf="@id/refreshLayout"
|
android:layout_marginBottom="20dp"
|
android:text="暂未找到相关内容哦~"
|
android:gravity="center"
|
android:drawableTop="@mipmap/wu"
|
android:drawablePadding="25dp"
|
android:textSize="13sp"/>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|