Ref:http://www.cnblogs.com/bluestorm/archive/2013/03/24/2979557.html

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.

Constant Value Description
beforeDescendants 0 The ViewGroup will get focus before any of its descendants.
afterDescendants 1 The ViewGroup will get focus only if none of its descendants want it.
blocksDescendants 2 The ViewGroup will block its descendants from receiving focus.

解决方案

在ListView要显示的Item的外层加上

android:descendantFocusability="blocksDescendants"

最新文章

  1. [spring]03_装配Bean
  2. Python MongoDB使用介绍
  3. 内置对象session ,cookic,Application,ViewState
  4. js 闭包之一
  5. foreach与Iterable学习
  6. 使chrome支持跨域访问
  7. org/apache/commons/discovery/tools/DiscoverSingleton
  8. LeetCode题解——Longest Substring Without Repeating Characters
  9. Canal 同步异常分析:Could not find first log file name in binary log index file
  10. CSS的常见问题
  11. pcre和正则表达式的误点
  12. Python函数式实现单例特性
  13. CentOS7 安装VNC
  14. fashion datasets图像检索实践project
  15. (已解决)Xcode 运行报错: clang: error: unknown argument: '-websockets'
  16. jsp连接数据库的乱码问题 servlet请求参数编码处理get post
  17. testNG 学习笔记 Day 3 常用的断言
  18. 2588: Count on a tree
  19. day3 RHCE
  20. Arcgis Android 常见问题

热门文章

  1. android多线程断点续传下载文件
  2. [转]Struts2.3.16.1+Hibernate4.3.4+Spring4.0.2 框架整合
  3. [webpack] webpack-dev-server介绍及配置
  4. 教你一招:解决Win10 win7 删除文件或文件夹时提示“找不到该项目”
  5. Spring-----定时任务Quartz配置
  6. PHP5.6启动失败
  7. Python学习笔记——字典
  8. jquery实现简单瀑布流布局(续):图片懒加载
  9. @RequestMapping 用法详解之地址映射(转)
  10. [NHibernate]Parent/Child