pulltorefresh_recyclerview.xml 1.37 KB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/relativeLaout"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    >

    <TextView
        android:id="@+id/title"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="推荐"
        android:layout_margin="10dp"
        android:textSize="17sp"
        android:visibility="gone"
        />

    <com.cnlive.goldenline.ui.widget.pull2refresh.PullToRefreshLayout
        android:id="@+id/pull_to_refresh"
        android:layout_width="match_parent"
        android:layout_height="match_parent" >
        <com.cnlive.goldenline.ui.widget.pull2refresh.PullableRecyclerView
            android:id="@+id/mRecyclerView"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            />
    </com.cnlive.goldenline.ui.widget.pull2refresh.PullToRefreshLayout>
    <TextView
        android:id="@+id/getMore"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="换一批"
        android:textSize="15sp"
        android:gravity="center"
        android:layout_marginTop="10dp"
        android:visibility="gone"
        />
</RelativeLayout>