[Solved] How to make sure the user type “@yahoo” or”@gmail” in an edit text? [closed]
you can do this by checking “yahoo” or “gmail” or … in the string you get from the edit text like this: if (strMessage.contains(“@gmail.com”) || strMessage.contains(“@yahoo.com”){ //Do whatever you want. } 4 solved How to make sure the user type “@yahoo” or”@gmail” in an edit text? [closed]