Greeny
Greeny

Reputation: 1951

Change style of EditText.setError(String)

Is it possible to change the style of the "error popup" which can by shown with the EditText.setError(String) method? Or is this an unstylable popup :-/

Upvotes: 1

Views: 1856

Answers (1)

Jashan PJ
Jashan PJ

Reputation: 4398

Yes, you can change the colour of the text using this method. Just use the html

UserNameEdt.setError(Html.fromHtml("please enter user name"));

Upvotes: 1

Related Questions