- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:descendantFocusability="blocksDescendants">
- <android.support.v7.widget.RecyclerView
- android:id="@+id/playdate_recyclerview"
- android:divider="@color/vr_gray"
- android:dividerHeight="1dp"
- android:layout_width="match_parent"
- android:layout_height="wrap_content" />
- </RelativeLayout>
- 在外层加个android:descendantFocusability="blocksDescendants" 就好了,很神奇点击打开链接
- http://blog.csdn.net/p1522780457/article/details/70228491