1. android:focusableInTouchMode="true" 属性: 控制 子view不获取焦点;
<android.support.v4.widget.SwipeRefreshLayout android:id="@ id/swipe_refresh" android:layout_width="match_parent" android:layout_height="match_parent" android:focusableInTouchMode="true"> <android.support.v7.widget.RecyclerView android:id="@ id/recy_college" android:layout_width="match_parent" android:layout_height="wrap_content" android:scrollbars="none"> </android.support.v7.widget.RecyclerView> </android.support.v4.widget.SwipeRefreshLayout>