EditText edittext = (EditText)findViewById(R.id.etEditView);
if (edittext .getText().toString().isEmpty())
edittext.setError("Fill detail");
If the value is empty it shows error dialog but as the background is white and the textcolor is also white the error is not visible.
How can I change the color of the background and textcolor??