EditText设置光标最后

来源:互联网 发布:淘宝店经营技巧 编辑:程序博客网 时间:2024/05/29 14:52

private EditText myphone;

myphone.setText(phone);
myphone.requestFocus();
myphone.setSelection(myphone.length());

0 0
原创粉丝点击