Android: solve the problem of item click event after adding button in expandablelistview

After adding a button in expandablelistview, the item item item cannot be clicked, and the click event cannot be obtained.

The button button grabs the focus of the expandablelistview

Add the Android: focusable = "false" attribute to the button, close the button to get focus, and click the item in expandablelistview

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>