admin
2020-07-16 b5e008514ffa376154fee55423779a4f21c9f1b7
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
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
 
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    <!--android:descendantFocusability="blocksDescendants"-->
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">
        <!--SwipeRefreshLayout-->
        <android.support.v4.widget.SwipeRefreshLayout
            android:id="@+id/fragment_brand_fragment_sf"
            android:layout_width="match_parent"
            android:layout_height="match_parent">
 
            <!--套一个linerlayout防止下拉刷新冲突-->
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent">
 
                <android.support.v7.widget.RecyclerView
                    android:id="@+id/fragment_brand_fragment_rv"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:background="@color/register_gray"
                    android:divider="@null" />
            </LinearLayout>
        </android.support.v4.widget.SwipeRefreshLayout>
    </LinearLayout>
 
    <include layout="@layout/item_no_net" />
 
    <include layout="@layout/item_error_net" />
 
    <include layout="@layout/item_no_data" />
</FrameLayout>