1

I want to change the background color of the EditText's setError pop up message to white. I have changed the text color to green as shown in the image. But not being able to change the background color. Code written below:

if (TextUtils.isEmpty(editTextUsername)){
 txt_L_user_ID.setError(Html.fromHtml("<font color=green>User ID could not be empty</font>"));
                }

Below is the image.

Please click to see image.

Marcin Orlowski
  • 72,056
  • 11
  • 123
  • 141

0 Answers0