在item的配置xml的根节点添加属性android:descendantFocusability="blocksDescendants",
在要添加事件的控件上添加android:focusable="false"。
在item的配置xml的根节点添加属性android:descendantFocusability="blocksDescendants",
在要添加事件的控件上添加android:focusable="false"。
转载于:https://www.cnblogs.com/harvesteveryday/p/4237918.html