ListView嵌套Gallery时click事件被Gallery捕获
来源:互联网 发布:郭德纲 人品 知乎 编辑:程序博客网 时间:2024/06/05 18:25
原文明细:http://blog.csdn.net/yangzl2008/article/details/7761999
在Listview的Item项Layout属性中中添加:
android:descendantFocusability="blocksDescendants"
android:descendantFocusability
Defines the relationship between the ViewGroup and its descendants when looking for a View to take focus.
Must be one of the following constant values.
beforeDescendants
0The ViewGroup will get focus before any of its descendants.afterDescendants
1The ViewGroup will get focus only if none of its descendants want it.blocksDescendants
2The ViewGroup will block its descendants from receiving focus. 0 0
- ListView嵌套Gallery时click事件被Gallery捕获
- ScrollView内嵌套Gallery和ListView时,Gallery发生偏移
- ViewPage嵌套ListView,嵌套Gallery 滑动冲突
- ViewPage嵌套ListView,嵌套Gallery 滑动冲突
- Gallery中的子视图处理Click事件
- Gallery中的子视图处理Click事件
- 解决!Gallery中嵌套ListView,Gallery不能滑动的问题
- Listview嵌套Gallery滑动冲突问题解决
- Gallery
- Gallery
- Gallery
- gallery
- gallery
- Gallery
- gallery
- Gallery
- Gallery
- Gallery
- ASP.NET MVC 入门4、Controller与Action
- slf4j+log4j、logback 配置
- Android 编程遇到的一点记录
- POJ 1915 Knight Moves 骑士遍历问题(跳马问题)
- TCP/IP学习(27)——协议初始化与简要的接收/发送流程
- ListView嵌套Gallery时click事件被Gallery捕获
- ZOJ-3414-Trail Walk_计算几何
- Tomcat配置连接池
- POJ 3264 Balanced Lineup
- iPhone开发 屏幕适配(3.5英寸和4英寸屏幕适配)
- jquery tmpl 模版
- C++栈
- 用批处理删除txt中指定的行和替换指定的行,以及添加指定的行
- 获取本地IP