title: Android maxLines and minLines attributes not working in XML
body: <p>I have an XML file which contains an <code>EditText</code> with these attributes:</p>
  
  <pre><code>&lt;EditText
          android:id="@+id/et_firstname"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_marginBottom="@dimen/view_margin_below"
          android:hint="@string/et_firstname"
          android:maxLength="20"
          android:minLines="1"
          android:maxLines="1" /&gt;
  </code></pre>
  
  <p>Since <code>android:singleline</code> is deprecated, I looked for another option and I found these attributes, but they aren't working. I am allowed to enter as many newlines as I want.</p>