title: Android bug with Edittext MaxLines
body: <p>MaxLines attribute in Edit text is not working:</p>
  
  <pre><code>&lt;android.support.design.widget.TextInputLayout
          android:layout_width="match_parent"
          android:layout_marginBottom="5dp"
          android:paddingLeft="10dp"
          android:paddingRight="10dp"
          android:textColorHint="@color/colorAccent"
          android:layout_height="wrap_content"&gt;
      &lt;EditText
          android:id="@+id/register_userName"
          android:maxLines="1"
          android:textColorHint="@color/colorAccent"
          android:textColor="@color/colorAccent"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:hint="Name" /&gt;
      &lt;/android.support.design.widget.TextInputLayout&gt;
  </code></pre>
  
  <p>I'm using following in my gradle:</p>
  
  <pre><code>compileSdkVersion 25
  buildToolsVersion '25.0.2'
  </code></pre>
  
  <p>Though I Have specified <code>android:maxLines="1"</code> for my edit text, the edit text shifting to new line I'm testing on Android 5.1, this worked fine on my previous apps but I recently updated my build tools and I'm not sure why <code>android:maxLines="1"</code> is not working as expected.</p>