当expandlistview的getGroupView或者getChildView中包含checkbox时,前者点击不可用

当expandlistview的getGroupView或者getChildView中包含checkbox时,前者点击不可用。

解决办法 在etGroupView或者getChildView的checkbox中添加

android:clickable="true" android:focusable="false" android:focusableInTouchMode="false"

问题就解决了。

你可能感兴趣的:(android,checkbox,ExpandListView)