android:descendantFocusability 焦点 父控件与子控件焦点


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

更多相关文章

  1. Android中VISIBLE、INVISIBLE、GONE的区别
  2. Android(安卓)控件常用属性
  3. Android相对布局
  4. android程序在Layout中设置控件水平或垂直居中
  5. Android修改默认控件焦点不highlight
  6. Android(安卓)TextView 文字居中
  7. Android:控件样式触发
  8. Android(安卓)Studio 的原生输入框控件 EditText 属性配置详解
  9. Android(安卓)UI系列-----RelativeLayout的相关属性

随机推荐

  1. Android(安卓)获取系统相册中的所有图片
  2. android开发环境搭建和部署
  3. Can't dispatch DDM chunk 52454151: no
  4. 转到编辑联系人的系统界面 编辑 添加
  5. Android(安卓)中文API (61) —— ViewSwitc
  6. Android导入第三方库出现问题
  7. 实现录音,播放,以及Socket的上传和下载。。
  8. Unity接入Android广告: 二、将Aar包放入Un
  9. android创建桌面快捷方式(启动目标非项目
  10. Android中RecyclerView左右侧滑