Android中的编辑文本不允许在setError后更改可绘制能力。我已经为密码字段使用了drawable权限,但是如果密码字段中出现错误,它将不允许在它之后更改drawable。在出错之前它工作正常。改变眼睛图标运行时间的Java代码privatevoidsetPasswordDrawable(){finalDrawableshowpass_icon=getResources().getDrawable(R.mipmap.ic_action_password_visibility);finalDrawablehidepass_icon=getResources().getDrawab