title: How to fix soft keyboard overlaps on bottom button?
body: <p>This is my layout. On my <strong>manifest</strong> it has <code>windowSoftInputMode:"adjustResize|stayVisible</code>It is not necessarily overlaps on my button but it has a delay like 2seconds then it will stop overlapping on my button. Hoping anyone could help me. Should i use RelativeLayout?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;ScrollView
  
          xmlns:app="http://schemas.android.com/apk/res-auto"
          xmlns:tools="http://schemas.android.com/tools"
          xmlns:android="http://schemas.android.com/apk/res/android"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:fillViewport="true"
          android:scrollbars="vertical"
          android:id="@+id/my_scroll_view"
          app:layout_constraintTop_toTopOf="parent"&gt;
  
  &lt;androidx.constraintlayout.widget.ConstraintLayout
  
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          tools:context=".login.WelcomeScreenActivity"&gt;
  
  
          &lt;VideoView
                  android:id="@+id/video_view"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:layout_gravity="center" /&gt;
  
              &lt;ImageView
                      android:id="@+id/imageView27"
                      android:layout_width="match_parent"
                      android:layout_height="match_parent"
                      android:src="@drawable/half_black_view" /&gt;
  
          &lt;LinearLayout
                  android:id="@+id/linearLayout13"
                  android:layout_width="match_parent"
                  android:layout_height="0dp"
                  android:gravity="center_horizontal"
                  android:orientation="vertical"
                  app:layout_constraintBottom_toBottomOf="parent"
                  app:layout_constraintBottom_toTopOf="@+id/login_nxt_btn"
                  app:layout_constraintEnd_toEndOf="parent"
                  app:layout_constraintStart_toStartOf="parent"&gt;
  
              &lt;androidx.viewpager.widget.ViewPager
                      android:id="@+id/welcome_screen_viewPager"
                      android:layout_width="match_parent"
                      android:layout_height="130dp"&gt;&lt;/androidx.viewpager.widget.ViewPager&gt;
  
              &lt;com.google.android.material.tabs.TabLayout
                      android:id="@+id/welcome_screen_indicator"
                      android:layout_width="match_parent"
                      android:layout_height="20dp"
                      android:layout_marginStart="8dp"
                      android:layout_marginLeft="8dp"
                      android:layout_marginTop="8dp"
                      android:layout_marginEnd="8dp"
                      android:layout_marginRight="8dp"
                      app:tabBackground="@drawable/tab_selector"
                      app:tabGravity="center"
                      app:tabIndicatorHeight="0dp"&gt;&lt;/com.google.android.material.tabs.TabLayout&gt;
  
              &lt;LinearLayout
                      android:layout_width="match_parent"
                      android:layout_height="60dp"
                      android:layout_marginStart="16dp"
                      android:layout_marginLeft="16dp"
                      android:layout_marginTop="16dp"
                      android:layout_marginEnd="16dp"
                      android:layout_marginRight="16dp"
                      android:background="@drawable/blur_bg"
                      android:gravity="center_vertical"
                      android:orientation="horizontal"
                      android:padding="8dp"&gt;
  
                  &lt;com.hbb20.CountryCodePicker
                          android:id="@+id/ccp"
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:layout_marginStart="16dp"
                          android:layout_marginLeft="16dp"
                          app:ccpDialog_keyboardAutoPopup="false"
                          app:ccp_arrowColor="@color/white"
                          app:ccp_autoDetectCountry="true"
                          app:ccp_contentColor="@color/white"
                          app:ccp_countryPreference="in,us,nz,gb"
                          app:ccp_defaultLanguage="ENGLISH"
                          app:ccp_hintExampleNumber="true"
                          app:ccp_showFlag="false"
                          app:ccp_showNameCode="false"
                          app:ccp_textSize="13sp" /&gt;
  
                  &lt;View
                          android:id="@+id/sepratorView"
                          android:layout_width="1dp"
                          android:layout_height="match_parent"
                          android:layout_marginTop="4dp"
                          android:layout_marginBottom="4dp"
                          android:background="@color/app_seperator_color" /&gt;
  
                  &lt;EditText
                          android:id="@+id/user_number_edittext"
                          android:layout_width="match_parent"
                          android:layout_height="wrap_content"
                          android:layout_marginStart="16dp"
                          android:layout_marginLeft="16dp"
                          android:background="@android:color/transparent"
                          android:fontFamily="@font/montserrat"
                          android:hint="@string/enter_your_phone_number"
                          android:inputType="phone"
                          android:maxLength="11"
                          android:singleLine="true"
                          android:textColor="@android:color/white"
                          android:textColorHint="@color/white"
                          android:textSize="14sp" /&gt;
  
              &lt;/LinearLayout&gt;
  
              &lt;TextView
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_marginStart="16dp"
                      android:layout_marginTop="16dp"
                      android:layout_marginEnd="16dp"
                      android:layout_marginBottom="20dp"
                      android:fontFamily="@font/montserrat_light"
                      android:text="@string/enter_number_recevie_otp"
                      android:textAlignment="center"
                      android:textColor="@color/white"
                      android:textSize="13sp" /&gt;
  
  
  
          &lt;/LinearLayout&gt;
          &lt;Button
              android:id="@+id/login_nxt_btn"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:background="@drawable/rectangle_app_btn"
              android:fontFamily="@font/montserrat_medium"
              android:text="@string/next"
              android:textAllCaps="false"
              android:textColor="@color/white"
              android:textSize="18sp"
              app:layout_constraintBottom_toBottomOf="parent"
              app:layout_constraintEnd_toEndOf="parent"
              app:layout_constraintStart_toStartOf="parent" /&gt;
          &lt;/androidx.constraintlayout.widget.ConstraintLayout&gt;
  
      &lt;/ScrollView&gt;
  </code></pre>