Android set cursor postion at the end of the text field


EditText et = (EditText)findViewById(R.id.value);
et.setSelection(et.getText().length());


0 意見: