摘要: 1.在布局文件中给edittext的父控件增加两个属性 android:focusable="true" android:focusableInTouchMode="true" 2.直接调用edittext的clearFocus()方法,不过该方法有时候会不生效 阅读全文
posted @ 2017-09-05 17:22 RockSmall 阅读(12671) 评论(0) 推荐(0)