![](/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.