setSelection() 选择 文本区域 全选

EditText.setSelection(0,et.getText().length());

全选

猜你喜欢

转载自blog.csdn.net/qq_38340601/article/details/83118057