title: Comparing two editTexts in android
body: <p>I am learning android I tried following codeline but it's giving me error please give me suggestions, that how can I compare two <code>edittext</code>'s text.</p>
  
  <pre><code>if((edt1.getText().toString() &amp;&amp; 
      edt4.getText().toString() &amp;&amp; 
      edt7.getText().toString)=="X")
  </code></pre>