<?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.scwang.smart.refresh.layout.SmartRefreshLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
app:layout_constraintTop_toTopOf="parent"
|
android:layout_marginBottom="12dp"
|
android:id="@+id/refreshLayout">
|
<com.scwang.smart.refresh.header.ClassicsHeader
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"/>
|
<androidx.core.widget.NestedScrollView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:scrollbars="none">
|
<androidx.constraintlayout.widget.ConstraintLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:paddingBottom="90dp"
|
android:orientation="vertical">
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:id="@+id/tv_1"
|
android:textSize="16sp"
|
app:layout_constraintStart_toStartOf="parent"
|
android:textStyle="bold"
|
app:layout_constraintBaseline_toBaselineOf="@id/tv_year"
|
android:textColor="@color/textColor"
|
android:layout_marginStart="14dp"
|
android:text="参与年份:"/>
|
<TextView
|
android:layout_width="88dp"
|
android:layout_height="35dp"
|
android:id="@+id/tv_year"
|
android:text="全部"
|
android:layout_marginTop="12dp"
|
android:background="@drawable/bg_grey_line_5dp"
|
app:layout_constraintTop_toTopOf="parent"
|
android:gravity="center_vertical"
|
android:paddingHorizontal="8dp"
|
android:textSize="16sp"
|
android:textColor="@color/textColor"
|
android:drawableEnd="@mipmap/icon_nav_open"
|
app:layout_constraintStart_toEndOf="@id/tv_1"/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:id="@+id/tv_filter"
|
android:text="按胜率排名"
|
android:drawableEnd="@mipmap/update"
|
android:drawablePadding="5dp"
|
app:layout_constraintEnd_toEndOf="parent"
|
android:layout_marginEnd="14dp"
|
android:textColor="@color/colorDeepBlue"
|
android:textSize="16sp"
|
android:textStyle="bold"
|
app:layout_constraintBaseline_toBaselineOf="@id/tv_1"/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="32dp"
|
android:orientation="horizontal"
|
android:id="@+id/ll_title"
|
app:layout_constraintTop_toBottomOf="@id/tv_year"
|
android:layout_marginTop="16dp"
|
android:layout_marginHorizontal="14dp"
|
android:background="@drawable/bg_grey_line">
|
<TextView
|
android:layout_width="0dp"
|
android:layout_weight="50"
|
android:text="排名"
|
android:textColor="@color/textColor"
|
android:textStyle="bold"
|
android:textSize="12sp"
|
android:gravity="center"
|
android:layout_height="match_parent"/>
|
<View
|
android:layout_width="1px"
|
android:layout_height="match_parent"
|
android:background="@color/dividing_line_color"/>
|
<TextView
|
android:layout_width="0dp"
|
android:layout_weight="122"
|
android:text="用户"
|
android:textColor="@color/textColor"
|
android:textStyle="bold"
|
android:textSize="12sp"
|
android:gravity="center"
|
android:layout_height="match_parent"/>
|
<View
|
android:layout_width="1px"
|
android:layout_height="match_parent"
|
android:background="@color/dividing_line_color"/>
|
<TextView
|
android:layout_width="0dp"
|
android:layout_weight="120"
|
android:text="总场次"
|
android:textColor="@color/textColor"
|
android:textStyle="bold"
|
android:textSize="12sp"
|
android:gravity="center"
|
android:layout_height="match_parent"/>
|
<View
|
android:layout_width="1px"
|
android:layout_height="match_parent"
|
android:background="@color/dividing_line_color"/>
|
<TextView
|
android:layout_width="0dp"
|
android:layout_weight="73"
|
android:text="胜率"
|
android:textColor="@color/textColor"
|
android:textStyle="bold"
|
android:textSize="12sp"
|
android:gravity="center"
|
android:layout_height="match_parent"/>
|
|
</LinearLayout>
|
<androidx.recyclerview.widget.RecyclerView
|
android:id="@+id/rv_list"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:minHeight="300dp"
|
android:layout_marginHorizontal="14dp"
|
android:background="@color/white"
|
app:layout_constraintTop_toBottomOf="@id/ll_title" />
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:layout_marginHorizontal="14dp"
|
app:layout_constraintBottom_toBottomOf="@id/rv_list"
|
android:background="@color/dividing_line_color"/>
|
<View
|
android:layout_width="1px"
|
android:layout_height="0dp"
|
app:layout_constraintTop_toTopOf="@id/rv_list"
|
app:layout_constraintStart_toStartOf="@id/rv_list"
|
app:layout_constraintBottom_toBottomOf="@id/rv_list"
|
android:background="@color/dividing_line_color"/>
|
<View
|
android:layout_width="1px"
|
android:layout_height="0dp"
|
app:layout_constraintTop_toTopOf="@id/rv_list"
|
app:layout_constraintEnd_toEndOf="@id/rv_list"
|
app:layout_constraintBottom_toBottomOf="@id/rv_list"
|
android:background="@color/dividing_line_color"/>
|
<!-- <LinearLayout-->
|
<!-- android:layout_width="match_parent"-->
|
<!-- android:layout_height="wrap_content"-->
|
<!-- android:orientation="horizontal"-->
|
<!-- android:id="@+id/rg_region"-->
|
<!-- android:layout_marginTop="13dp"-->
|
<!-- app:layout_constraintTop_toBottomOf="@id/rv_list">-->
|
<!-- <TextView-->
|
<!-- android:id="@+id/rb_country"-->
|
<!-- android:layout_width="0dp"-->
|
<!-- android:layout_height="wrap_content"-->
|
<!-- android:layout_weight="1"-->
|
<!-- android:layout_marginStart="40dp"-->
|
<!-- android:text="全国"-->
|
<!-- android:paddingVertical="10dp"-->
|
<!-- android:gravity="center"-->
|
<!-- android:textColor="@color/selector_white_orange"-->
|
<!-- android:background="@drawable/selector_rank_region"/>-->
|
<!-- <TextView-->
|
<!-- android:id="@+id/rb_city"-->
|
<!-- android:layout_width="0dp"-->
|
<!-- android:layout_height="wrap_content"-->
|
<!-- android:layout_weight="1"-->
|
<!-- android:layout_marginStart="20dp"-->
|
<!-- android:layout_marginEnd="40dp"-->
|
<!-- android:paddingVertical="10dp"-->
|
<!-- android:gravity="center"-->
|
<!-- android:checked="true"-->
|
<!-- android:textColor="@color/selector_white_orange"-->
|
<!-- android:background="@drawable/selector_rank_region"/>-->
|
<!-- </LinearLayout>-->
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
</com.scwang.smart.refresh.layout.SmartRefreshLayout>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
android:layout_marginTop="100dp"
|
android:text="暂无数据"
|
android:id="@+id/tv_empty"
|
android:visibility="gone"
|
android:textSize="14sp"
|
android:textColor="@color/textColor99"/>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|