您的位置:首页 > 其它

listview 内包含了新的listview 子listview 点击失效问题

2016-01-19 11:45 399 查看
Though a very old question, but I am still posting an answer to it so that it may help some one. If you are using any layout inside the list view then use ...
android:descendantFocusability="blocksDescendants"


... on the first parent layout inside the list. This works as magic the click will not be consumed by any element inside the list but will directly go to the list item.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: