EditText et = (EditText)findViewById(R.id.inbox); et.setSelection(et.getText().length()); 转载于:https://www.cnblogs.com/zhujiabin/p/5867244.html