0

When setting a long error message on a TextInputEditText, it cuts it in two lines, but only one line is displayed:

enter image description here

Any way to solve this? I'm ok with two or multi lines, but they should be displayed properly.

breakline
  • 5,776
  • 8
  • 45
  • 84

1 Answers1

0

Well it turns out the problem was the styling... If you do something like:

<style name="V2NormalInput" parent="Widget.AppCompat.EditText">
....
</style>

And apply that to a TextInputEditText it'll clip the error message...

So the solution was simply to remove the parent:

<style name="V2NormalInput">
....
</style>

Now it works.

breakline
  • 5,776
  • 8
  • 45
  • 84