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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/rl_container_recy"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
 
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">
 
        <FrameLayout
            android:id="@+id/fl_top"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:layout_collapseMode="parallax"
            app:layout_collapseParallaxMultiplier="0.7">
 
        </FrameLayout>
 
        <com.scwang.smartrefresh.layout.SmartRefreshLayout
            android:id="@+id/smart_refresh_layout"
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="1"
            app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"
            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.core.widget.NestedScrollView
                    android:id="@+id/nsv_base_scoll"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent">
 
                    <LinearLayout
                        android:layout_width="match_parent"
                        android:layout_height="match_parent"
                        android:orientation="vertical">
 
 
                        <FrameLayout
                            android:id="@+id/fl_h_top"
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content" />
 
                        <androidx.recyclerview.widget.RecyclerView
                            android:id="@+id/recycler_view"
                            android:layout_width="match_parent"
                            android:layout_height="match_parent" />
                        <FrameLayout
                            android:id="@+id/fl_h_bottom"
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content" />
 
                    </LinearLayout>
 
                </androidx.core.widget.NestedScrollView>
 
                <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="80dp"
                        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>
 
        <FrameLayout
            android:id="@+id/fl_bottom"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">
 
        </FrameLayout>
 
    </LinearLayout>
</RelativeLayout>