title: Android: How to avoid layout being pushed when keyboard invoked
body: <p>I have a layout as below</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:weightSum="1"&gt;
  &lt;TextView  
      android:layout_width="fill_parent" 
      android:layout_height="wrap_content" 
      android:text="@string/hello"
      /&gt;
  &lt;LinearLayout android:id="@+id/linearLayout1" android:layout_width="match_parent" android:layout_height="wrap_content"&gt;
      &lt;Button android:text="Button" android:id="@+id/button1" android:layout_width="wrap_content" android:layout_height="wrap_content"&gt;&lt;/Button&gt;
      &lt;Button android:text="Button" android:id="@+id/button2" android:layout_width="wrap_content" android:layout_height="wrap_content"&gt;&lt;/Button&gt;
      &lt;Button android:text="Button" android:id="@+id/button3" android:layout_width="wrap_content" android:layout_height="wrap_content"&gt;&lt;/Button&gt;
      &lt;Button android:text="Button" android:id="@+id/button4" android:layout_width="wrap_content" android:layout_height="wrap_content"&gt;&lt;/Button&gt;
      &lt;Button android:text="Button" android:id="@+id/button5" android:layout_width="wrap_content" android:layout_height="wrap_content"&gt;&lt;/Button&gt;
  &lt;/LinearLayout&gt;
  &lt;ImageButton android:id="@+id/imageButton1" android:src="@android:drawable/stat_notify_sync_noanim" android:layout_height="fill_parent" android:layout_weight="1" android:layout_width="fill_parent"&gt;&lt;/ImageButton&gt;
  &lt;EditText android:id="@+id/editText1" android:layout_height="wrap_content" android:layout_width="match_parent"&gt;
      &lt;requestFocus&gt;&lt;/requestFocus&gt;
  &lt;/EditText&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>when the softkeyboard invoked by clicking on the edit text the whole layou is being pushed. Can i keep the buttons on the header fixed and let the imageview being pushed?? Because buttons are gonna act like navigation bar so it should be there even when the layout is being pushed up.</p>
  
  <p>Before
  <img src="https://i.stack.imgur.com/cjMik.png" alt="enter image description here"></p>
  
  <p>After
  <img src="https://i.stack.imgur.com/q7olW.png" alt="enter image description here"></p>