If you want to customized the error message of EditText than you can simply use the code given below.
Using below code you can declare your edit text
// Declare your edit-text.
EditText editText=(EditText)view.findViewById(R.id.editText);
The below code will help you to set the font color of your edit text.
// set color of the edittext using HTML.
editText.setError(Html.fromHtml("<font color="#000000">"error!"</font>"));
0 Comment(s)