@ SuppressWarnings ( "unused" ) public void setError ( CharSequence error , Drawable icon ) { mPhoneEdit . setError ( error , icon ) ; }
Sets an error message that will be displayed in a popup when the EditText has focus along with an icon displayed at the right - hand side .