<?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="wrap_content"
|
android:layout_height="wrap_content"
|
android:id="@+id/tv_1"
|
android:text="查询时间:"
|
android:textColor="@color/textColor"
|
android:textSize="14sp"
|
app:layout_constraintBaseline_toBaselineOf="@id/tv_time"
|
android:textStyle="bold"
|
app:layout_constraintHorizontal_chainStyle="packed"
|
android:layout_marginEnd="6dp"
|
app:layout_constraintEnd_toStartOf="@id/tv_time"
|
app:layout_constraintStart_toStartOf="parent"/>
|
<TextView
|
android:layout_width="160dp"
|
android:layout_height="wrap_content"
|
android:id="@+id/tv_time"
|
android:paddingVertical="8dp"
|
android:hint="请选择"
|
android:textColor="@color/textColor"
|
android:textStyle="bold"
|
android:paddingHorizontal="16dp"
|
android:textSize="14sp"
|
android:background="@drawable/bg_white_8dp"
|
app:layout_constraintStart_toEndOf="@id/tv_1"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintEnd_toStartOf="@id/iv_reset"
|
android:layout_marginTop="18dp"/>
|
<ImageView
|
android:id="@+id/iv_reset"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:src="@mipmap/shuaxinxiazai"
|
app:layout_constraintTop_toTopOf="@id/tv_time"
|
app:layout_constraintBottom_toBottomOf="@id/tv_time"
|
app:layout_constraintStart_toEndOf="@id/tv_time"
|
android:layout_marginStart="13dp"
|
app:layout_constraintEnd_toEndOf="parent"/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical"
|
app:layout_constraintTop_toBottomOf="@id/tv_time"
|
android:layout_marginTop="16dp"
|
android:layout_marginHorizontal="230dp"
|
android:id="@+id/ll_score"
|
android:background="@drawable/bg_white_8dp">
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:id="@+id/tv_balance"
|
android:layout_marginTop="25dp"
|
android:fontFamily="@font/impact_regular"
|
android:textColor="@color/color_text_price"
|
android:text="0"
|
android:textSize="32sp"
|
android:layout_gravity="center"/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_marginTop="8dp"
|
android:layout_marginBottom="28dp"
|
android:text="剩余积分"
|
android:textSize="18sp"
|
android:textColor="@color/textColor"
|
android:textStyle="bold"/>
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/ll_title"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
app:layout_constraintTop_toBottomOf="@id/ll_score"
|
android:layout_marginHorizontal="230dp"
|
android:layout_marginTop="25dp"
|
android:background="@drawable/bg_blue_top_20dp">
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="164"
|
android:gravity="center"
|
android:paddingVertical="12dp"
|
android:text="时间"
|
android:textColor="@color/white"
|
android:textStyle="bold"
|
android:textSize="16sp"/>
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="164"
|
android:gravity="center"
|
android:paddingVertical="12dp"
|
android:text="数量"
|
android:textColor="@color/white"
|
android:textStyle="bold"
|
android:textSize="16sp"/>
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="164"
|
android:gravity="center"
|
android:paddingVertical="12dp"
|
android:text="方式"
|
android:textColor="@color/white"
|
android:textStyle="bold"
|
android:textSize="16sp"/>
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="134"
|
android:gravity="center"
|
android:paddingVertical="12dp"
|
android:text="类型"
|
android:textColor="@color/white"
|
android:textStyle="bold"
|
android:textSize="16sp"/>
|
</LinearLayout>
|
<com.scwang.smart.refresh.layout.SmartRefreshLayout
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:id="@+id/refreshLayout"
|
app:layout_constraintTop_toBottomOf="@id/ll_title"
|
app:layout_constraintBottom_toBottomOf="parent"
|
android:layout_marginHorizontal="230dp"
|
android:background="@color/white"
|
android:layout_marginBottom="60dp">
|
<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>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|