Android multiline edittext not increasing its height as the user types <p>So the layout is quite simple. A <code>ListView</code> occupying most of the screen, and a <code>RelativeLayout</code> at the bottom containing the <code>EditText</code> and a <code>Button</code> to the right. Everything looks great, but the problem is that as the user types and enters new lines, the <code>EditText</code> is not increasing its height just enough so that the user can see all the text types without scrolling. You would think that using <code>WRAP_CONTENT</code> on both the <code>EditText</code> and its parent <code>RelativeLayout</code> would take care of that, but it doesn't for some reason. Any ideas? Here's the Layout XML:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" &gt; &lt;RelativeLayout android:id="@+id/postCommentRelativeLayout" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_alignParentLeft="true" android:layout_alignParentRight="true" android:visibility="visible" &gt; &lt;Button android:id="@+id/viewCommentsPostCommentButton" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" android:layout_alignParentTop="false" android:text="@string/post" /&gt; &lt;EditText android:id="@+id/viewCommentsInsertCommentTextEdit" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignBottom="@id/viewCommentsPostCommentButton" android:layout_alignParentLeft="true" android:layout_alignParentTop="false" android:layout_toLeftOf="@+id/viewCommentsPostCommentButton" android:ems="10" android:hint="@string/enter_comment" android:inputType="textCapSentences|textMultiLine" &gt; &lt;requestFocus /&gt; &lt;/EditText&gt; &lt;/RelativeLayout&gt; &lt;ListView android:id="@+id/entriesListView" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_above="@id/postCommentRelativeLayout" android:layout_alignParentLeft="true" android:layout_alignParentRight="true" android:layout_alignParentTop="true" android:focusable="false" &gt; &lt;/ListView&gt; &lt;/RelativeLayout&gt; </code></pre>