标签: android popup textview android-edittext android-holo-everywhere
在HoloEverywhere中,有没有办法改变通过TextView.setError(...)触发的弹出窗口的背景画面?
TextView.setError(...)
注意:默认(非HoloEverywhere)TextView / EditText使用内部资源进行弹出,因此无法轻松设置样式。
TextView
EditText
答案 0 :(得分:0)
您可以通过指定使用其他背景图片来扩展TextView并覆盖setError()。
setError()
答案 1 :(得分:0)
public void setError (CharSequence error, Drawable icon)