Android - default value in editText
There is the hint
feature? You can use the setHint()
to set it, or set it in XML (though you probably don't want that, because the XML doesn't 'know' the name/adress of your user :) )
You can use EditText.setText(...)
to set the current text of an EditText field.
Example:
yourEditText.setText(currentUserName);