article_fragment_layout.xml 1.62 KB
Newer Older
范玉宾 committed
1
<?xml version="1.0" encoding="utf-8"?>
2
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 4 5
             android:layout_width="match_parent"
             android:layout_height="match_parent"
             xmlns:tools="http://schemas.android.com/tools">
范玉宾 committed
6

7
    <com.scwang.smart.refresh.layout.SmartRefreshLayout
范玉宾 committed
8 9 10 11 12
        android:id="@+id/smart_refresh_layout"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:paddingTop="20dp"
        android:clipToPadding="false">
范玉宾 committed
13

14
        <androidx.recyclerview.widget.RecyclerView
范玉宾 committed
15 16 17
            android:id="@+id/rv_article_content"
            android:layout_width="match_parent"
            android:layout_height="match_parent"/>
18

19
    </com.scwang.smart.refresh.layout.SmartRefreshLayout>
20

21 22 23 24 25 26 27 28
    <LinearLayout
            android:id="@+id/ll_empty"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="vertical"
            android:visibility="gone"
            android:gravity="center"
            tools:visibility="visible">
29

30 31 32 33 34
        <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:src="@drawable/platform_ydlcommon_blank"/>
35

36 37 38 39 40 41
        <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="14dp"
                android:text="暂无相应记录"
                android:textColor="#b2b2b2"/>
42

43
    </LinearLayout>
44 45 46


</FrameLayout>