3

In HoloEverywhere, is there a way to change the background drawable of the popup which is triggered through TextView.setError(...)?

Error popup

Note: The default (non-HoloEverywhere) TextView/EditText uses internal resources for the popup and thus cannot be styled easily.

Carl
  • 77
  • 5

2 Answers2

0

You could extend TextView and override setError() by specifying to use another background image.

Andy Res
  • 15,963
  • 5
  • 60
  • 96
  • I would also have to override the complete popup handling. As indicated in the note at the bottom of my original question, popup handling and resources are completely internal. (If curious, have a look at the Android source code.) – Carl Jul 26 '13 at 13:06
0

public void setError (CharSequence error, Drawable icon)

Bogdan Zurac
  • 6,348
  • 11
  • 48
  • 96