【发布时间】:2018-03-21 22:56:12
【问题描述】:
根据 Google 的材料指南:
https://material.io/guidelines/components/text-fields.html#text-fields-layout
TextInputLayout 提示的颜色应与错误消息相同:
但事实并非如此,当我调用setError("My error") 时,只有下划线和错误消息显示为红色。
如何更改此行为以符合 Google 自己的准则?
【问题讨论】:
-
您能展示一下您所体验的实际外观吗?
-
你得到答案了吗?
标签: android android-design-library