title: EditText maxLines not working - user can still input more lines than set
body: <pre><code>&lt;EditText 
      android:id="@+id/editText2" 
      android:layout_height="wrap_content" 
      android:layout_width="fill_parent" 
      android:maxLines="5" 
      android:lines="5"&gt;
  &lt;/EditText&gt;
  </code></pre>
  
  <p>User can input more than 5 lines, by pressing enter/next row key. How can I limit user input to fixed amount of rows with EditText?</p>