Bun*_*uni 7 android pull-to-refresh swiperefreshlayout android-recyclerview
I want to move Recyclerview together with the Swipe Refresh Layout indicator (do not place the indicator above the Recyclerview, but Recyclerview should be appeared below of swipe refresh indicator).
我在一个SwipeRefreshLayout. 相应的 XML 如下。
<android.support.v4.widget.SwipeRefreshLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/swipe_refresh_news">
<android.support.v7.widget.RecyclerView
android:id="@+id/recycler_view"
android:scrollbars="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</android.support.v4.widget.SwipeRefreshLayout>
Run Code Online (Sandbox Code Playgroud)
目前滑动看起来像这样:
| 归档时间: |
|
| 查看次数: |
644 次 |
| 最近记录: |