edittext.setText(“要设置的内容”);
android中给edittext设置值,直接使用setText函数即可.
edittext.setText("我要设置的值");
edittext.setText("xxxx");