title: Soft keyboard hides half of EditText
body: <p>I have a <code>ListView</code> and the last list item contains <code>EditText</code>:</p>
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;RelativeLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;match_parent&quot;
      android:orientation=&quot;vertical&quot; &gt;
  
      &lt;RelativeLayout
          android:id=&quot;@+id/contentLayout&quot;
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:layout_alignParentLeft=&quot;true&quot;
          android:layout_alignParentRight=&quot;true&quot;
          android:layout_alignParentTop=&quot;true&quot;
          android:layout_marginLeft=&quot;10dp&quot;
          android:layout_marginRight=&quot;10dp&quot;
          android:layout_marginTop=&quot;30dp&quot;
          android:orientation=&quot;vertical&quot; &gt;
  
          &lt;ImageView
              android:id=&quot;@+id/test&quot;
              android:layout_width=&quot;wrap_content&quot;
              android:layout_height=&quot;wrap_content&quot;
              android:layout_alignRight=&quot;@+id/messageEditText&quot;
              android:layout_below=&quot;@+id/messageEditText&quot;
              android:layout_marginRight=&quot;14dp&quot;
              android:src=&quot;@drawable/test&quot; /&gt;
  
          &lt;EditText
              android:id=&quot;@+id/messageEditText&quot;
              android:layout_width=&quot;wrap_content&quot;
              android:layout_height=&quot;wrap_content&quot;
              android:layout_alignParentLeft=&quot;true&quot;
              android:layout_alignParentTop=&quot;true&quot;
              android:layout_toLeftOf=&quot;@+id/sendImageButton&quot;
              android:ems=&quot;10&quot;
              android:gravity=&quot;top&quot;
              android:hint=&quot;@string/messageEditText&quot;
              android:inputType=&quot;textMultiLine&quot;
              android:minHeight=&quot;55dp&quot;
              android:paddingLeft=&quot;10dp&quot;
              android:paddingRight=&quot;10dp&quot;
              android:paddingTop=&quot;10dp&quot; /&gt;
  
          &lt;ImageButton
              android:id=&quot;@+id/sendImageButton&quot;
              android:layout_width=&quot;wrap_content&quot;
              android:layout_height=&quot;wrap_content&quot;
              android:layout_alignBottom=&quot;@id/messageEditText&quot;
              android:layout_alignParentRight=&quot;true&quot;
              android:layout_alignTop=&quot;@id/messageEditText&quot;
              android:adjustViewBounds=&quot;true&quot;
              android:maxHeight=&quot;55dp&quot;
              android:maxWidth=&quot;55dp&quot;
              android:padding=&quot;12dp&quot;
              android:scaleType=&quot;centerInside&quot;
              android:src=&quot;@drawable/sendmessage&quot; /&gt;
  
      &lt;/RelativeLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  <p>Half of the <code>EditText</code> is hidden. I also can't scroll <code>ListView</code>. Any solution?</p>
  <p><img src="https://i.stack.imgur.com/qqN4k.png" alt="image" /></p>