ExpandableListview中 解决ImageButton冲突的问题。
来源:互联网 发布:网络管理考试题 编辑:程序博客网 时间:2024/05/22 05:22
http://stackoverflow.com/questions/11818278/android-expandable-list-view-doesnt-have-reaction-to-click-it-doesnt-expan
只需要 在代码中 调用setFocusable(false) 方法, 只要在XML中设置 false 为什么不行,这个需要继续调查。
ibDeleteRcipe.setFocusable(false);
第二种 解决方式:在Item布局中 添加android:descendantFocusability="blocksDescendants"
见 http://mylifewithandroid.blogspot.com/2011/08/focus-problems-with-list-rows-and.html
0 0
- ExpandableListview中 解决ImageButton冲突的问题。
- 解决Android中TextView和ExpandableListView和ScrollView滑动冲突问题
- 解决listview和Imagebutton之间焦点冲突问题
- Listview或者ExpandableListView以及GridView与ScrollView冲突问题的解决
- Android—解决expandablelistview的更新问题
- listview中Button、ImageButton、CheckBox点击冲突
- onInterceptTouchEvent解决GridView和ImageButton焦点共存的问题
- 解决apache中svn与resin等的冲突问题
- 如何解决php中并发读写文件冲突的问题
- 解决git中 项目合并冲突的问题
- 解决ListView在ScrollView中滑动冲突的问题
- 解决ECSHOP中transport.js和jquery的冲突问题
- Android Studio中集成fresco,解决冲突的问题。
- ScrollView中嵌套ListView和GridView冲突问题的解决
- Android ScrollView中嵌套ListView,滑动冲突问题的解决
- 解决scrollview中包含listview所引发的冲突问题
- Android中解决包冲突的问题(简单暴力)
- 解决Swift项目中use_frameworks!冲突的问题
- SDL编程三(音频)
- python中增加新模块
- Excel导入异常Cannot get a text value from a numeric cell解决
- Qt DLL总结【三】-VS2008+Qt 使用QPluginLoader访问DLL
- 矩阵的运算
- ExpandableListview中 解决ImageButton冲突的问题。
- OCP 1Z0 052 63
- 兼容各个浏览器的H.264播放: H.264+HTML5+FLOWPLAYER+WOWZA+RMTP
- android中调试Service的方法
- error code [1260]; %d line(s) were cut by GROUP_CONCAT();
- 《Linux驱动基础篇》- Linux内核定时器
- JAVA的四大组成部分
- 抓住一切机会从小事做起 优秀营销人死守的5个秘密
- C++ Primer学习之(11)——泛型算法