Simply use this one..
s1 = et.getText().toString();
and if you want to get from string.xml then use
NOTE: Remember one thing when you extract value from
EditText or TextView
and take that value in String then you have to just set that
String to TextView.