title: TextInputLayout error message size
body: <p>Is there a way to force the TextInputLayout error message to take a single line ?</p>
  
  <p>I tried to place <code>app:errorTextAppearance="@style/error_appearance"</code> on the TextInputLayout with the error_appearance style containing :</p>
  
  <pre><code>&lt;item name="android:maxLines"&gt;1&lt;/item&gt;
  &lt;item name="android:ellipsize"&gt;end&lt;/item&gt;
  &lt;item name="android:inputType"&gt;text&lt;/item&gt;
  </code></pre>
  
  <p>and it does not work. Changing the color works however. I don't get it, the mErrorView is just a TextView, it should work.</p>
  
  <p><a href="https://i.stack.imgur.com/qiOU9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qiOU9.png" alt="TextInputLayout error message"></a></p>