Android editview 去掉自动获取焦点功能
在editview的父级Layout中设置
android:focusable="true"
android:focusableInTouchMode="true"
报错:Activity XXX has leaked window XXX that was originall added
原因:alertdialog 没有被关闭
解决方法: 在alertdialog对象的点击事件中添加alertdialog.cancel()或alertdialog.dismiss();手动关闭alertdialog