<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:focusable="true"
android:focusableInTouchMode="true"> <EditText
android:id="@+id/myUrl"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ems="10" /> </LinearLayout>

给EditText加一个父控件,设置父控件的属性:

android:focusable="true"
android:focusableInTouchMode="true"

最新文章

  1. Oralce 重建EM服务,OracleDBConsoleOracle
  2. 初刷LeetCode的感受
  3. 谢欣伦 - OpenDev原创教程 - 客户端套接字类CxClientSocket
  4. iphone 开源汇总(转)
  5. Git 查看文件的历史
  6. javascript元素绑定事件
  7. MyFragment
  8. careercup-中等难题
  9. C++ 知识点 2
  10. Windows下Apache 虚拟主机 VirtualHost 配置
  11. 关于mac地址的一点感想
  12. Python多层目录模块调用
  13. NCS8801S芯片RGB/LVDS转EDP功能简介
  14. JVM内存模型与垃圾回收
  15. PIL、Pillow安装使用方法
  16. java类型的小知识List 等
  17. Python基础-内置函数、模块、函数、json
  18. ORACLE 内置函数之 GREATEST 和 LEAST(转)
  19. Python中什么是变量
  20. 配置Hanlp自然语言处理进阶

热门文章

  1. csv读入数据,用julia/matplotlib/pyplot 画矢量图导入word中
  2. oracle 导出导入不含数据的空库
  3. GridView根据一列自动计算(转载)
  4. linear map (also called a linear mapping, linear transformation or, in some contexts, linear function
  5. Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
  6. [m() for i in range(8)]
  7. eclipse 重启/打开内置浏览器
  8. 《CMake实践》笔记一:PROJECT/MESSAGE/ADD_EXECUTABLE【转】
  9. HDU2819 Swap —— 二分图最大匹配
  10. html5--项目实战-仿360囧图