码迷,mamicode.com
首页 >  
搜索关键字:checkbox使用问题    ( 2个结果
ListView中CheckBox使用问题
因为CheckBox的点击事件优先级比ListView的高,所以当ListView中使用CheckBox会导致ListView的setOnItemClickListener失去响应。 解决的方法:在CheckBox中加入android:focusable="false"。使得CheckBox初始的时 ...
分类:其他好文   时间:2017-04-30 10:55:20    阅读次数:117
ListView中CheckBox使用问题
由于CheckBox的点击事件优先级比ListView的高,所以当ListView中使用CheckBox会导致ListView的setOnItemClickListener失去响应。 解决办法:在CheckBox中添加android:focusable="false",使得CheckBox初始的时候没有获取焦点。...
分类:其他好文   时间:2014-07-27 11:50:43    阅读次数:168
2条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!