title: Layout won't expand with EditText
body: <p>When I type into the EditText box, the RelativeLayout containing it does not expand.  The problem is I want it to.</p>
  
  <p>Here's a visual display of the problem:</p>
  
  <p><img src="https://i.stack.imgur.com/cNnvs.jpg" alt="enter image description here"></p>
  
  <p>There's about 5 lines of gibberish typed in there and you can see the 2nd to last line cut off.  Up to a maximum of 5 lines should be showing, but they're not, most likely because they're inside a layout whose height is set to wrap the contents.  How can I make the parent layout expand when the EditText expands?</p>
  
  <p>Here is the problem xml displaying the message box you see in the picture:</p>
  
  <pre><code>&lt;RelativeLayout
      android:id="@+id/group_chat_form"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_alignParentBottom="true"
      android:layout_marginTop="5dp"
      android:background="@drawable/transparent_background2" &gt;
  
           &lt;TextView 
          android:id="@+id/send_msg_button"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentRight="true"
          android:background="@drawable/transparent_background2"
          android:text="Send" /&gt;
  
  
      &lt;EditText
  
          android:id="@+id/group_chat_input_box"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentLeft="true"
          android:layout_alignBottom="@id/send_msg_button"
          android:layout_toLeftOf="@id/send_msg_button"
          android:background="#00000000"
          android:hint="Type a message..."
          android:textColorHint="#EEEEEE"
          android:inputType="textMultiLine"
          android:maxLines="5"
          android:paddingLeft="5dp"
          android:paddingRight="5dp"
          android:paddingTop="4dp"
          android:paddingBottom="4dp"
          android:textColor="#FFFFFF"
          android:textSize="20sp"
          android:shadowColor="#000000"
          android:shadowRadius="3"
          android:shadowDx="3"
          android:shadowDy="3"/&gt; 
  
    &lt;/RelativeLayout&gt;
  </code></pre>