There are two EditText,while loading the page a text is set in the first EditText, So now cursor will be in the starting place of EditText, I want
EditText
as a reminder: if you are using edittext.setSelection() to set the cursor, and it is NOT working while setting up an alertdialog for example, make sure to set the selection() AFTER the dialog has been created
edittext.setSelection()
alertdialog
selection()
example:
AlertDialog dialog = builder.show(); input.setSelection(x,y);