![](/img/trans.png)
[英]Android Material TextInputLayout and TextInputEditText
[英]Android TextInputEditText/TextInputLayout cuts off error message
好吧,事实证明问题出在样式上...如果您执行以下操作:
<style name="V2NormalInput" parent="Widget.AppCompat.EditText">
....
</style>
并将其应用于 TextInputEditText 它将剪辑错误消息......
所以解决方案只是删除父级:
<style name="V2NormalInput">
....
</style>
现在它起作用了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.