title: Android: soft keyboard pushes up whole layout, need to resize the listview
body: <p>I have a full screen chat layout where I have a header with a logo on the top, then follows a listView with all chat messages and at the bottom I have the editText and the buttom to send the chat message. Now what happens when I click in the editText is, that the whole layout gets pushed up. What I need is, the header with the logo to always stay where they are and the listView to gets resized. </p>
  
  <p>this does not do the trick:</p>
  
  <pre><code>android:windowSoftInputMode="adjustResize"
  </code></pre>
  
  <p>this neither:</p>
  
  <pre><code>android:windowSoftInputMode="adjustPan"
  </code></pre>
  
  <p>maybe because I have a full screen layout?</p>
  
  <p>I need to find a different way to resize my listView once a keyboard is present, any ideas? Thanks in advance!</p>
  
  <p>Here is my layout
      
      </p>
  
  <pre><code>&lt;LinearLayout
  
      android:layout_width="match_parent"
      android:layout_height="70dp"
      android:background="@drawable/ss99_yellow_area_navigation_bar"
      android:baselineAligned="false"
      android:orientation="horizontal" &gt;
  
      &lt;ImageView
          android:id="@+id/back"
          android:layout_width="45dp"
          android:layout_height="match_parent"
          android:layout_marginBottom="10dp"
          android:layout_marginLeft="5dp"
          android:layout_marginTop="5dp"
          android:adjustViewBounds="true"
          android:clickable="true"
          android:src="@drawable/ss99_button_back" /&gt;
  
      &lt;ImageView
          android:id="@+id/logo"
          android:layout_width="wrap_content"
          android:layout_height="75dp"
          android:layout_weight="1"
          android:adjustViewBounds="true"
          android:src="@drawable/ss99_logo_small" /&gt;
  
  &lt;/LinearLayout&gt;
  
  &lt;RelativeLayout
      android:layout_width="match_parent"
      android:layout_height="45dp"
      android:layout_marginTop="-2dp"
      android:background="@drawable/ss9_yellow_bar_chat_new" &gt;
  
      &lt;TextView
          android:id="@+id/userOpponent"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentLeft="true"
          android:layout_centerVertical="true"
          android:layout_marginLeft="5dp"
          android:text="Medium Text"
          android:textAppearance="?android:attr/textAppearanceMedium" /&gt;
  
      &lt;TextView
          android:id="@+id/userUser"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignBaseline="@+id/userOpponent"
          android:layout_alignBottom="@+id/userOpponent"
          android:layout_alignParentRight="true"
          android:layout_marginRight="5dp"
          android:text="Medium Text"
          android:textAppearance="?android:attr/textAppearanceMedium" /&gt;
  
  &lt;/RelativeLayout&gt;
  
      &lt;ListView
          android:id="@+id/chatList"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:cacheColorHint="#00000000"
          android:divider="#00000000"
          android:listSelector="#00000000" 
       android:layout_weight="1"
        android:stackFromBottom="true"
          android:transcriptMode="alwaysScroll"&gt;
      &lt;/ListView&gt;
  
      &lt;RelativeLayout
          android:layout_width="match_parent"
          android:layout_height="60dp"
          android:background="@drawable/ss9_yellow_area_for_bottom_and_chat_string" &gt;
  
             &lt;ImageView
                      android:id="@+id/field1"
                      android:layout_width="220dp"
                      android:layout_height="wrap_content"
                      android:layout_alignParentLeft="true"
                      android:layout_alignParentTop="true"
                      android:layout_gravity="center"
                      android:layout_marginLeft="20dp"
                      android:layout_marginTop="10dp"
                      android:adjustViewBounds="true"
                      android:scaleType="centerInside"
                      android:src="@drawable/ss1_field_big" /&gt;
  
                  &lt;EditText
                      android:id="@+id/chatEdit"
                      android:layout_width="200dp"
                      android:layout_height="wrap_content"
                      android:layout_alignBottom="@+id/field1"
                      android:layout_alignLeft="@+id/field1"
                      android:layout_alignTop="@+id/field1"
                      android:layout_marginBottom="3dp"
                      android:layout_marginLeft="10dp"
                      android:layout_marginTop="1dp"
                      android:background="@null"
                      android:inputType="textAutoCorrect|textAutoComplete"
                      android:textAppearance="?android:attr/textAppearanceMedium" &gt;
  
                  &lt;/EditText&gt;
  
      &lt;ImageView
          android:id="@+id/chatOk"
          android:layout_width="60dp"
          android:layout_height="60dp"
          android:layout_alignParentRight="true"
          android:layout_alignParentTop="true"
          android:layout_marginBottom="5dp"
          android:adjustViewBounds="false"
          android:baselineAlignBottom="false"
          android:clickable="true"
          android:cropToPadding="false"
          android:scaleType="fitEnd"
          android:src="@drawable/ss4_button_go_small" /&gt;
  
      &lt;/RelativeLayout&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>