Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
passCode1 = (EditText) findViewById(R.id.passCode1);
此编辑文本框是数字密码类型,我无法清除该值,并且它有数字限制,只能输入 0 - 9 之间的数字
numberPassword, textPassword, phone, date, text, ..不管是什么,您都可以通过调用清除该字段passCode1.setText(null);
passCode1.setText(null);