lmw
2023-06-20 7e4a923b472a1ffb9d6deeb80302551ba4178ca3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?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>