HoloEverywhere中TextView / EditText的自定义错误弹出窗口?

时间:2013-07-26 12:56:14

标签: android popup textview android-edittext android-holo-everywhere

在HoloEverywhere中,有没有办法改变通过TextView.setError(...)触发的弹出窗口的背景画面?

Error popup

注意:默认(非HoloEverywhere)TextView / EditText使用内部资源进行弹出,因此无法轻松设置样式。

2 个答案:

答案 0 :(得分:0)

您可以通过指定使用其他背景图片来扩展TextView并覆盖setError()

答案 1 :(得分:0)