1.佈局文件
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants">
<android.support.v7.widget.RecyclerView
android:id="@+id/recv_photo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="@dimen/dp_7"
android:paddingRight="@dimen/dp_7" />
</RelativeLayout>
2.java文件
recvPhoto.setHasFixedSize(true);
recvPhoto.setNestedScrollingEnabled(false);
問題解決~