edtUserCode = (EditText) this.findViewById(R.id.edt_username);
edtUserCode.setSelection(edtUserCode.getText().length());
這樣EditText 中的光標就會跟隨在內容之後顯示。
edtUserCode = (EditText) this.findViewById(R.id.edt_username);
edtUserCode.setSelection(edtUserCode.getText().length());
這樣EditText 中的光標就會跟隨在內容之後顯示。