It seems I can\'t figure out how to get the text string out of EditText. I want to use the text from the EditText at pressing the button.
EditText
l
Try this :
EditText edt = (EditText)findViewById(R.id.edittext); String xyz = edt.getText().toString();