32 lines
1.3 KiB
XML
32 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<com.scwang.smartrefresh.layout.SmartRefreshLayout
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
android:id="@+id/smart_refresh_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
app:srlEnableLoadMore="true"
|
|
app:srlEnableRefresh="true">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/recyclerView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginStart="@dimen/dp_10"
|
|
android:layout_marginEnd="@dimen/dp_10"
|
|
android:nestedScrollingEnabled="false"
|
|
app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
|
|
tools:listitem="@layout/item_prize_pool" />
|
|
|
|
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</layout>
|