<?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">
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="150dp"
|
android:id="@+id/tv_coin"
|
android:textColor="@color/white"
|
android:textStyle="bold"
|
android:gravity="center_horizontal"
|
android:paddingTop="18dp"
|
android:lineSpacingExtra="7dp"
|
android:textSize="28sp"
|
app:layout_constraintTop_toTopOf="parent"
|
android:background="@color/colorPrimary"/>
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
style="@style/style_btn_action"
|
app:layout_constraintBottom_toBottomOf="parent"
|
android:layout_marginBottom="15dp"
|
android:layout_marginTop="30dp"
|
android:layout_marginHorizontal="100dp"
|
android:text="充值"
|
android:id="@+id/tv_action"/>
|
<Space
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:id="@+id/spacer"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintBottom_toBottomOf="@id/tv_coin"
|
android:layout_marginBottom="40dp"/>
|
<androidx.constraintlayout.widget.ConstraintLayout
|
android:id="@+id/cl_list"
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
app:layout_constraintTop_toBottomOf="@id/spacer"
|
app:layout_constraintBottom_toTopOf="@id/tv_action"
|
android:layout_marginHorizontal="14dp"
|
android:layout_marginBottom="15dp"
|
android:elevation="2dp"
|
android:background="@drawable/bg_white_10dp">
|
<TextView
|
android:layout_width="100dp"
|
android:layout_height="wrap_content"
|
android:id="@+id/tv_filter"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
android:layout_marginTop="6dp"
|
android:layout_marginEnd="11dp"
|
android:text="全部记录"
|
android:textSize="16sp"
|
android:padding="8dp"
|
android:background="@drawable/bg_grey_line_4dp"
|
android:textColor="@color/textColor"
|
android:drawableEnd="@mipmap/icon_nav_open"/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:id="@+id/tv_month"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintBaseline_toBaselineOf="@id/tv_filter"
|
android:layout_marginStart="14dp"
|
android:textColor="@color/textColor"
|
android:textSize="16sp"
|
android:textStyle="bold"
|
android:paddingVertical="10dp"
|
android:text="2023年3月 >"/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:background="@color/dividing_line_color"
|
app:layout_constraintTop_toBottomOf="@id/tv_filter"
|
android:layout_marginTop="6dp"/>
|
<com.scwang.smart.refresh.layout.SmartRefreshLayout
|
android:id="@+id/refreshLayout"
|
android:layout_width="match_parent"
|
app:layout_constraintTop_toBottomOf="@id/tv_filter"
|
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_goneMarginBottom="15dp"
|
android:layout_marginTop="6dp"
|
android:layout_height="0dp">
|
<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_record"/>
|
<com.scwang.smart.refresh.footer.ClassicsFooter
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"/>
|
</com.scwang.smart.refresh.layout.SmartRefreshLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|