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 ...
... 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.
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.
相关文章推荐
- 加壳实现
- 结合Phalcon看webapp中的MVC构架
- OC笔记一:Objective-C简介
- 15-语言入门-15-6174问题
- 我在CSDN安家了!
- Hibernate 注解配置
- zabbix监控mysql主从
- openswan klips代码分析--(1)初始化流程
- python 协程
- unique_ptr数组笔记
- 如何实现APK的反编译得到APK的源码?
- ios7下面用autolayout报错类似 *** Assertion failure in -[XXX layoutSublayersOfLayer:], /SourceCache/UIKit/U
- windows 创建服务提示失败 5 拒绝 访问拒绝
- Python序列之列表 (list)
- c++ 设计模式1
- http Content-type对照表
- 14-语言入门-14-阶乘因式分解(一)
- linux 与windows文件夹共享实现 smab协议
- hdoj1023 Train Problem II
- java读写文件及保留指定位小数