Java tutorial
//package com.java2s; import android.widget.EditText; public class Main { private static boolean emailValido(EditText email) { boolean Valido = true; if (email.getText().toString().contains("@") == true) { return email.getText().toString().contains("."); } return Valido = false; } }