lmw
2024-09-23 f23be5d1086538d541281b84d8b093f95c545c47
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
<?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:layout_width="match_parent"
    android:id="@+id/rl_main_top"
    android:background="@color/bg_main"
    android:layout_height="match_parent">
 
    <com.scwang.smartrefresh.layout.SmartRefreshLayout
        android:id="@+id/smart_refresh_layout"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        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" />
 
        <LinearLayout
            android:id="@+id/ll_top_view"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="vertical">
 
            <androidx.recyclerview.widget.RecyclerView
                android:id="@+id/recycler_view"
                android:layout_width="match_parent"
                android:clipToPadding="false"
                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>
 
 
 
        </LinearLayout>
 
 
 
 
        <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>
 
 
 
</RelativeLayout>