edit text fields email validation code example
Example: validate email in android
String emailPattern = "[a-zA-Z0-9._-]+@[a-z]+\\.+[a-z]+";
if (_______.matches(emailPattern)) {
regfullname.setError("invalid email adress");
return false;
}