I am learning android I tried following codeline but it\'s giving me error please give me suggestions, that how can I compare two edittext\'s text.
edittext
Make it simple:
if (!et1.toString().equals(et2.toString())) { MsgBox(this,"--Your Message--"); }