体验新版 GitCode,发现更多精彩内容 >>
<?xml version="1.0" encoding="utf-8"?> <android.support.v4.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/SwipeRefreshLayout" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingTop="15px" android:paddingLeft="15px" > <android.support.v7.widget.RecyclerView android:id="@+id/recyclerView" android:layout_width="match_parent" android:layout_height="match_parent" android:scrollbars="vertical" tools:listitem="@layout/recycle_list" /> </android.support.v4.widget.SwipeRefreshLayout>