<?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">
|
<com.flyco.tablayout.CommonTabLayout
|
android:layout_width="match_parent"
|
android:id="@+id/tab_layout"
|
app:layout_constraintTop_toTopOf="parent"
|
android:elevation="2dp"
|
app:tl_textSelectColor="@color/green_main"
|
app:tl_textsize="14sp"
|
app:tl_tab_space_equal="true"
|
android:background="@color/write"
|
app:tl_textUnselectColor="@color/textColor66"
|
app:tl_textBold="BOTH"
|
app:tl_indicator_color="@color/green_main"
|
app:tl_indicator_height="2dp"
|
app:tl_indicator_width="26dp"
|
android:layout_height="44dp"/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:background="@color/dividing_line_color"
|
app:layout_constraintTop_toTopOf="parent"/>
|
<TextView
|
android:id="@+id/tv_action"
|
android:layout_width="match_parent"
|
android:layout_height="48dp"
|
android:layout_marginStart="14dp"
|
android:layout_marginTop="44dp"
|
android:layout_marginEnd="14dp"
|
android:layout_marginBottom="10dp"
|
android:background="@drawable/bg_login"
|
android:gravity="center"
|
app:layout_constraintBottom_toBottomOf="parent"
|
android:text="兑换"
|
android:textColor="#ffffffff"
|
android:textSize="14sp" />
|
<com.scwang.smartrefresh.layout.SmartRefreshLayout
|
android:id="@+id/smart_refresh_layout"
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
app:layout_constraintTop_toBottomOf="@id/tab_layout"
|
app:layout_constraintBottom_toTopOf="@id/tv_action"
|
app:srlEnableAutoLoadMore="false">
|
|
<com.scwang.smartrefresh.layout.header.ClassicsHeader
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center" />
|
|
<FrameLayout
|
android:id="@+id/frame_layout"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
android:id="@+id/recycler_view"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent" />
|
|
<LinearLayout
|
android:id="@+id/ll_nothing"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:gravity="center_horizontal"
|
android:orientation="vertical"
|
android:visibility="gone">
|
|
<TextView
|
android:id="@+id/tv_nothing"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="33dp"
|
android:text="没有数据"
|
android:textColor="#CCCCCC"
|
android:textSize="14sp" />
|
|
</LinearLayout>
|
|
</FrameLayout>
|
|
<com.scwang.smartrefresh.layout.footer.ClassicsFooter
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
app:srlTextNothing="没有更多了"
|
app:srlTextSizeTitle="12sp" />
|
|
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|