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
if you want to check edt1, edt4, edt7 have "X" value then try this..
if((edt1.getText().toString().equalsIgnoreCase("X") &&edt4.getText().toString().equalsIgnoreCase("X") && edt7.getText().toString.equalsIgnoreCase("X"))