title: How to get text from edittext in other layout
body: <p>I have two layouts (name is regis and log)</p>
  <p>I can't get Text from EditText in regis.xml to log.xml when I use code</p>
  <blockquote>
  <p>setContentView(R.layout.log);</p>
  <p>...</p>
  <p>final EditText user = (EditText) findViewById(R.id.edt1);</p>
  <p>String usr = user.getText().toString();</p>
  </blockquote>
  <p>Because 'edt1' is element other layout (edt1 is id EditText regis.xml)</p>
  <p>How to get edt1 into log.xml ?
  Example please</p>
  <p>thanks you very much</p>