title: Layout is shrinking when keyboard opens android
body: <p>I am working on an app and i have set </p>
  
  <pre><code>enter code here
  &lt;activity
          android:name=".ui.base.BaseActivity"
          android:windowSoftInputMode="adjustResize|stateHidden|adjustPan|stateAlwaysHidden"
          android:theme="@style/MyTheme"/&gt;
  </code></pre>
  
  <p>and in this activity i am using different fragments and than also all layouts are shrinking. Please help if you want any codes please let me know.
  Thanks
  I am sharing you my screen image please check.<a href="https://i.stack.imgur.com/0aVHE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0aVHE.png" alt="enter image description here"></a></p>
  
  <p>This layout is home activity </p>
  
  <pre><code>enter code here
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:background="@android:color/white"
  android:orientation="vertical"
  android:isScrollContainer="false"&gt;
  
  &lt;include
      android:id="@+id/actionbar"
      layout="@layout/actionbar"
      android:layout_width="match_parent"
      android:layout_height="48dp" /&gt;
  
  &lt;FrameLayout
      android:id="@+id/base_container"
      android:layout_width="match_parent"
      android:layout_height="0dp"
      android:layout_above="@+id/tab_layout"
      android:layout_alignParentTop="true"
      android:layout_weight="1"&gt;
  
  &lt;/FrameLayout&gt;
  
  &lt;View
      android:layout_width="match_parent"
      android:layout_height="0.5dp"
      android:background="@color/light_grey"/&gt;
  
  &lt;LinearLayout
      android:id="@+id/tab_layout"
      android:layout_width="match_parent"
      android:layout_height="50dp"
      android:layout_alignParentBottom="true"
      android:background="@color/white"
      android:padding="@dimen/tab_horizontal_margin"
      android:orientation="horizontal"&gt;
  
      &lt;!--android:background="@color/tab_background_color"--&gt;
  
  
      &lt;include
          android:id="@+id/tab_1"
          layout="@layout/activity_base_item"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_weight="1"
          android:layout_gravity="center_vertical"/&gt;
  
      &lt;include
          android:id="@+id/tab_2"
          layout="@layout/activity_base_item"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_weight="1"
          android:layout_gravity="center_vertical"/&gt;
  
      &lt;include
          android:id="@+id/tab_3"
          layout="@layout/activity_base_item"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_weight="1"
          android:layout_gravity="center_vertical"/&gt;
  
      &lt;include
          android:id="@+id/tab_4"
          layout="@layout/activity_base_item"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_weight="1"
          android:layout_gravity="center_vertical"/&gt;
  
      &lt;include
          android:id="@+id/tab_5"
          layout="@layout/activity_base_item"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_weight="1"
          android:layout_gravity="center_vertical"/&gt;
  
  &lt;/LinearLayout&gt;
  &lt;/LinearLayout&gt;
  </code></pre>