Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以更改可以通过该EditText.setError(String)方法显示的“错误弹出窗口”的样式?或者这是一个无法确定样式的弹出窗口:-/
EditText.setError(String)
是的,您可以使用此方法更改文本的颜色。只需使用 html
UserNameEdt.setError(Html.fromHtml("请输入用户名"));