会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
RockSmall
博客园
首页
新随笔
联系
管理
订阅
2017年9月5日
Android 如何使edittext默认失去焦点
摘要: 1.在布局文件中给edittext的父控件增加两个属性 android:focusable="true" android:focusableInTouchMode="true" 2.直接调用edittext的clearFocus()方法,不过该方法有时候会不生效
阅读全文
posted @ 2017-09-05 17:22 RockSmall
阅读(12671)
评论(0)
推荐(0)
公告