title: How to move up the whole layout when keyboard shown?
body: <pre><code>&lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:orientation="vertical"
      android:layout_height="match_parent"&gt;
  
      &lt;LinearLayout
          android:layout_gravity="bottom"
          android:orientation="vertical"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"&gt;
  
          &lt;EditText
              android:layout_width="match_parent"
              android:layout_height="wrap_content" /&gt;
  
          &lt;Button
              android:layout_width="match_parent"
              android:layout_height="wrap_content" /&gt; 
          &lt;/LinearLayout&gt;    
  
  &lt;/FrameLayout&gt;  
  </code></pre>
  
  <p>in manifest:</p>
  
  <pre><code> android:windowSoftInputMode="adjustPan"
  </code></pre>
  
  <p><strong>Initial behavior:</strong> </p>
  
  <p><img src="https://i.stack.imgur.com/uZ5Ue.png" alt="enter image description here"></p>
  
  <p><strong>Current behavior:</strong></p>
  
  <p><img src="https://i.stack.imgur.com/f4n6c.png" alt="enter image description here"></p>
  
  <p><strong>Desired behavior:</strong></p>
  
  <p><img src="https://i.stack.imgur.com/unkKh.png" alt="enter image description here"></p>
  
  <p>How to achive desired behavior of layout? <strong>adjustResize</strong> unsuitable because this option resizes layout.</p>
  
  <p>Thank you for answers!</p>