title: How to place fragment inside layout with bottomNav properly?
body: <p>I have a layout with FragmentContainerView and material bottom navigation. Also I have a fragment which would be set to my FragmentContainerView in activity file. My fragment has ScrollView as parent. Whenever the EditText is clicked, the layout jumps up and it is blank until I scroll down. I' m including the xml files of my layouts.</p>
  <p>content_main.xml</p>
  <pre><code>enter code here
  
   &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;merge&gt;
      &lt;androidx.constraintlayout.widget.ConstraintLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
          xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;
          android:id=&quot;@+id/content_main_container&quot;
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;match_parent&quot;
          app:layout_behavior=&quot;@string/appbar_scrolling_view_behavior&quot;&gt;
          &lt;androidx.fragment.app.FragmentContainerView
              android:id=&quot;@+id/nav_host_fragment&quot;
              android:layout_width=&quot;0dp&quot;
              android:layout_height=&quot;0dp&quot;
              app:layout_constraintBottom_toTopOf=&quot;@+id/nav_view&quot;
              app:layout_constraintLeft_toLeftOf=&quot;parent&quot;
              app:layout_constraintRight_toRightOf=&quot;parent&quot;
              app:layout_constraintTop_toTopOf=&quot;parent&quot; /&gt;
          &lt;com.google.android.material.bottomnavigation.BottomNavigationView
              android:id=&quot;@+id/nav_view&quot;
              android:layout_width=&quot;match_parent&quot;
              android:layout_height=&quot;wrap_content&quot;
              android:background=&quot;?android:attr/windowBackground&quot;
              android:visibility=&quot;visible&quot;
              app:itemIconTint=&quot;@drawable/bottom_nav_colors&quot;
              app:itemTextColor=&quot;@drawable/bottom_nav_colors&quot;
              app:layout_constraintTop_toBottomOf=&quot;@id/nav_host_fragment&quot;
              app:layout_constraintBottom_toBottomOf=&quot;parent&quot;
              app:layout_constraintEnd_toEndOf=&quot;parent&quot;
              app:layout_constraintStart_toStartOf=&quot;parent&quot; /&gt;
      &lt;/androidx.constraintlayout.widget.ConstraintLayout&gt;
  &lt;/merge&gt;
  </code></pre>
  <p>And my fragment_home</p>
  <pre><code> &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;ScrollView xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;
      xmlns:tools=&quot;http://schemas.android.com/tools&quot;
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;fill_parent&quot;
      android:windowSoftInputMode=&quot;stateHidden|adjustResize|stateAlwaysHidden&quot;
      android:fitsSystemWindows=&quot;true&quot;&gt;
  
          &lt;androidx.constraintlayout.widget.ConstraintLayout
              android:id=&quot;@id/layout&quot;
              android:layout_width=&quot;match_parent&quot;
              android:layout_height=&quot;wrap_content&quot;
              android:layout_marginTop=&quot;@dimen/dp_16&quot;
              android:layout_marginBottom=&quot;@dimen/dp_16&quot;
              android:background=&quot;@color/white&quot;
              android:paddingVertical=&quot;@dimen/dp_16&quot;&gt;
  
  
              &lt;androidx.appcompat.widget.AppCompatTextView
                  android:id=&quot;@+id/balance_text&quot;
                  android:layout_width=&quot;wrap_content&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  android:layout_marginStart=&quot;@dimen/dp_16&quot;
                  android:fontFamily=&quot;@font/manrope_bold&quot;
                  android:text=&quot;Общий баланс&quot;
                  android:textColor=&quot;#071222&quot;
                  android:textSize=&quot;@dimen/font.14&quot;
                  app:layout_constraintStart_toStartOf=&quot;parent&quot;
                  app:layout_constraintTop_toTopOf=&quot;@id/layout&quot; /&gt;
  
              &lt;androidx.appcompat.widget.AppCompatTextView
                  android:id=&quot;@+id/tv_balance&quot;
                  android:layout_width=&quot;wrap_content&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  android:layout_marginTop=&quot;@dimen/dp_20&quot;
                  android:fontFamily=&quot;@font/manrope_bold&quot;
                  android:text=&quot;-- --- --- UZS&quot;
                  android:textColor=&quot;#2AA65C&quot;
                  android:textSize=&quot;22sp&quot;
                  android:textStyle=&quot;bold&quot;
                  app:layout_constraintStart_toStartOf=&quot;@+id/balance_text&quot;
                  app:layout_constraintTop_toBottomOf=&quot;@+id/balance_text&quot; /&gt;
  
              &lt;androidx.appcompat.widget.AppCompatImageView
                  android:id=&quot;@+id/eye_action&quot;
                  android:layout_width=&quot;wrap_content&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  android:layout_marginStart=&quot;@dimen/dp_6&quot;
                  android:tint=&quot;#8C8C8C&quot;
                  app:layout_constraintBottom_toBottomOf=&quot;@+id/tv_balance&quot;
                  app:layout_constraintStart_toEndOf=&quot;@+id/tv_balance&quot;
                  app:layout_constraintTop_toTopOf=&quot;@+id/tv_balance&quot;
                  app:srcCompat=&quot;@drawable/ic_eye_closed&quot; /&gt;
  
  
              &lt;uz.tune.commons.custom_view.TextViewDrawable
                  android:id=&quot;@+id/income_txt&quot;
                  android:layout_width=&quot;wrap_content&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  android:layout_marginStart=&quot;@dimen/dp_36&quot;
                  android:layout_marginTop=&quot;@dimen/dp_30&quot;
                  android:text=&quot;Доходы за месяц&quot;
                  android:textColor=&quot;#8C8C8C&quot;
                  android:textSize=&quot;12sp&quot;
                  app:layout_constraintStart_toStartOf=&quot;@+id/tv_balance&quot;
                  app:layout_constraintTop_toBottomOf=&quot;@id/tv_balance&quot; /&gt;
  
              &lt;androidx.appcompat.widget.AppCompatTextView
                  android:id=&quot;@+id/income&quot;
                  android:layout_width=&quot;wrap_content&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  android:layout_marginTop=&quot;5dp&quot;
                  android:fontFamily=&quot;@font/manrope_bold&quot;
                  android:text=&quot;11 000 000 UZS &quot;
                  android:textColor=&quot;#071222&quot;
                  android:textSize=&quot;12sp&quot;
                  app:layout_constraintStart_toStartOf=&quot;@+id/income_txt&quot;
                  app:layout_constraintTop_toBottomOf=&quot;@id/income_txt&quot; /&gt;
  
              &lt;uz.tune.commons.custom_view.TextViewDrawable
                  android:id=&quot;@+id/expense_txt&quot;
                  android:layout_width=&quot;wrap_content&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  android:layout_marginTop=&quot;@dimen/dp_30&quot;
                  android:layout_marginEnd=&quot;34dp&quot;
                  android:text=&quot;Расходы за месяц&quot;
                  android:textColor=&quot;#8C8C8C&quot;
                  android:textSize=&quot;12sp&quot;
                  app:layout_constraintEnd_toEndOf=&quot;parent&quot;
                  app:layout_constraintTop_toBottomOf=&quot;@id/tv_balance&quot; /&gt;
  
              &lt;androidx.appcompat.widget.AppCompatTextView
                  android:id=&quot;@+id/expense&quot;
                  android:layout_width=&quot;wrap_content&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  android:layout_marginTop=&quot;5dp&quot;
                  android:fontFamily=&quot;@font/manrope_bold&quot;
                  android:text=&quot;1 000 000 UZS&quot;
                  android:textColor=&quot;#071222&quot;
                  android:textSize=&quot;12sp&quot;
                  app:layout_constraintStart_toStartOf=&quot;@+id/expense_txt&quot;
                  app:layout_constraintTop_toBottomOf=&quot;@id/expense_txt&quot; /&gt;
          &lt;/androidx.constraintlayout.widget.ConstraintLayout&gt;
  
          &lt;LinearLayout
              android:id=&quot;@+id/grid&quot;
              android:layout_width=&quot;match_parent&quot;
              android:layout_height=&quot;wrap_content&quot;
              android:layout_marginTop=&quot;@dimen/dp_16&quot;
              android:background=&quot;@color/white&quot;
              android:orientation=&quot;vertical&quot;
              app:layout_constraintBottom_toTopOf=&quot;@id/bottom&quot;
              app:layout_constraintEnd_toEndOf=&quot;parent&quot;
              app:layout_constraintStart_toStartOf=&quot;parent&quot;
              app:layout_constraintTop_toBottomOf=&quot;@id/layout&quot;&gt;
  
  
              &lt;LinearLayout
                  android:layout_width=&quot;match_parent&quot;
                  android:layout_height=&quot;70dp&quot;
                  android:layout_marginTop=&quot;20dp&quot;
                  android:orientation=&quot;horizontal&quot;
  
                  android:paddingLeft=&quot;8dp&quot;
                  android:paddingRight=&quot;8dp&quot;&gt;
  
                  &lt;LinearLayout
                      android:id=&quot;@+id/vkladLayout&quot;
                      android:layout_width=&quot;match_parent&quot;
                      android:layout_height=&quot;match_parent&quot;
                      android:layout_weight=&quot;1&quot;
                      android:gravity=&quot;center&quot;
                      android:orientation=&quot;vertical&quot;&gt;
  
                      &lt;androidx.appcompat.widget.AppCompatImageView
                          android:id=&quot;@+id/vkladIcon&quot;
                          android:layout_width=&quot;35dp&quot;
                          android:layout_height=&quot;35dp&quot;
                          app:srcCompat=&quot;@drawable/ic_cards&quot; /&gt;
  
                      &lt;TextView
                          android:id=&quot;@+id/vkladTitle&quot;
                          android:layout_width=&quot;wrap_content&quot;
                          android:layout_height=&quot;30dp&quot;
                          android:layout_marginTop=&quot;2dp&quot;
                          android:gravity=&quot;center_horizontal&quot;
                          android:lineSpacingExtra=&quot;2sp&quot;
                          android:text=&quot;Мои карты&quot;
                          android:textColor=&quot;@color/colorDark&quot;
                          android:textSize=&quot;11sp&quot; /&gt;
                  &lt;/LinearLayout&gt;
  
                  &lt;LinearLayout
                      android:id=&quot;@+id/creditLayout&quot;
                      android:layout_width=&quot;match_parent&quot;
                      android:layout_height=&quot;match_parent&quot;
                      android:layout_weight=&quot;1&quot;
                      android:gravity=&quot;center&quot;
                      android:orientation=&quot;vertical&quot;&gt;
  
                      &lt;androidx.appcompat.widget.AppCompatImageView
                          android:id=&quot;@+id/creditIcon&quot;
                          android:layout_width=&quot;35dp&quot;
                          android:layout_height=&quot;35dp&quot;
                          app:srcCompat=&quot;@drawable/ic_transactions&quot; /&gt;
  
                      &lt;TextView
                          android:id=&quot;@+id/creditTitle&quot;
                          android:layout_width=&quot;wrap_content&quot;
                          android:layout_height=&quot;30dp&quot;
                          android:layout_marginTop=&quot;2dp&quot;
                          android:gravity=&quot;center_horizontal&quot;
                          android:lineSpacingExtra=&quot;2sp&quot;
                          android:text=&quot;Переводы&quot;
                          android:textColor=&quot;@color/colorDark&quot;
                          android:textSize=&quot;11sp&quot; /&gt;
                  &lt;/LinearLayout&gt;
  
  
                  &lt;LinearLayout
                      android:id=&quot;@+id/cardsLayout&quot;
                      android:layout_width=&quot;match_parent&quot;
                      android:layout_height=&quot;match_parent&quot;
                      android:layout_weight=&quot;1&quot;
                      android:gravity=&quot;center&quot;
                      android:orientation=&quot;vertical&quot;&gt;
  
                      &lt;androidx.appcompat.widget.AppCompatImageView
                          android:id=&quot;@+id/cardIcon&quot;
                          android:layout_width=&quot;35dp&quot;
                          android:layout_height=&quot;35dp&quot;
                          app:srcCompat=&quot;@drawable/ic_payment&quot; /&gt;
  
                      &lt;TextView
                          android:id=&quot;@+id/cardTitle&quot;
                          android:layout_width=&quot;wrap_content&quot;
                          android:layout_height=&quot;30dp&quot;
                          android:layout_marginTop=&quot;2dp&quot;
                          android:gravity=&quot;center_horizontal&quot;
                          android:lineSpacingExtra=&quot;2sp&quot;
                          android:text=&quot;Оплата&quot;
  
                          android:textColor=&quot;@color/colorDark&quot;
                          android:textSize=&quot;11sp&quot; /&gt;
                  &lt;/LinearLayout&gt;
  
                  &lt;LinearLayout
                      android:id=&quot;@+id/walletLayout&quot;
                      android:layout_width=&quot;match_parent&quot;
                      android:layout_height=&quot;match_parent&quot;
                      android:layout_weight=&quot;1&quot;
                      android:gravity=&quot;center&quot;
                      android:orientation=&quot;vertical&quot;&gt;
  
                      &lt;androidx.appcompat.widget.AppCompatImageView
                          android:id=&quot;@+id/walletIcon&quot;
                          android:layout_width=&quot;35dp&quot;
                          android:layout_height=&quot;35dp&quot;
                          app:srcCompat=&quot;@drawable/ic_qr_code&quot; /&gt;
  
                      &lt;TextView
                          android:id=&quot;@+id/walletTitle&quot;
                          android:layout_width=&quot;wrap_content&quot;
                          android:layout_height=&quot;30dp&quot;
                          android:layout_marginTop=&quot;2dp&quot;
                          android:gravity=&quot;center_horizontal&quot;
                          android:lineSpacingExtra=&quot;2sp&quot;
                          android:text=&quot;QR оплата&quot;
  
                          android:textColor=&quot;@color/colorDark&quot;
                          android:textSize=&quot;11sp&quot; /&gt;
                  &lt;/LinearLayout&gt;
  
              &lt;/LinearLayout&gt;
  
  
              &lt;LinearLayout
                  android:layout_width=&quot;match_parent&quot;
                  android:layout_height=&quot;70dp&quot;
                  android:layout_marginTop=&quot;20dp&quot;
                  android:orientation=&quot;horizontal&quot;
                  android:paddingLeft=&quot;8dp&quot;
                  android:paddingRight=&quot;8dp&quot;&gt;
  
                  &lt;LinearLayout
                      android:id=&quot;@+id/historyLayout&quot;
                      android:layout_width=&quot;match_parent&quot;
                      android:layout_height=&quot;match_parent&quot;
                      android:layout_weight=&quot;1&quot;
                      android:gravity=&quot;center&quot;
                      android:orientation=&quot;vertical&quot;&gt;
  
                      &lt;androidx.appcompat.widget.AppCompatImageView
                          android:id=&quot;@+id/historyIcon&quot;
                          android:layout_width=&quot;35dp&quot;
                          android:layout_height=&quot;35dp&quot;
                          app:srcCompat=&quot;@drawable/ic_deposits&quot; /&gt;
  
                      &lt;TextView
                          android:id=&quot;@+id/historyTitle&quot;
                          android:layout_width=&quot;wrap_content&quot;
                          android:layout_height=&quot;30dp&quot;
                          android:layout_marginTop=&quot;2dp&quot;
                          android:gravity=&quot;center_horizontal&quot;
                          android:lineSpacingExtra=&quot;2sp&quot;
                          android:text=&quot;Депозиты&quot;
                          android:textColor=&quot;@color/colorDark&quot;
                          android:textSize=&quot;11sp&quot; /&gt;
                  &lt;/LinearLayout&gt;
  
                  &lt;LinearLayout
                      android:id=&quot;@+id/pAccountLayout&quot;
                      android:layout_width=&quot;match_parent&quot;
                      android:layout_height=&quot;match_parent&quot;
                      android:layout_weight=&quot;1&quot;
                      android:gravity=&quot;center&quot;
                      android:orientation=&quot;vertical&quot;&gt;
  
                      &lt;androidx.appcompat.widget.AppCompatImageView
                          android:id=&quot;@+id/pAccountIcon&quot;
                          android:layout_width=&quot;35dp&quot;
                          android:layout_height=&quot;35dp&quot;
                          app:srcCompat=&quot;@drawable/ic_loans&quot; /&gt;
  
                      &lt;TextView
                          android:id=&quot;@+id/pAccountTitle&quot;
                          android:layout_width=&quot;wrap_content&quot;
                          android:layout_height=&quot;30dp&quot;
                          android:layout_marginTop=&quot;2dp&quot;
                          android:gravity=&quot;center_horizontal&quot;
                          android:lineSpacingExtra=&quot;2sp&quot;
                          android:text=&quot;Кредиты&quot;
  
                          android:textColor=&quot;@color/colorDark&quot;
                          android:textSize=&quot;11sp&quot; /&gt;
                  &lt;/LinearLayout&gt;
                  &lt;LinearLayout
                      android:id=&quot;@+id/calendarLayout&quot;
                      android:layout_width=&quot;match_parent&quot;
                      android:layout_height=&quot;match_parent&quot;
                      android:layout_weight=&quot;1&quot;
                      android:gravity=&quot;center&quot;
                      android:orientation=&quot;vertical&quot;&gt;
  
                      &lt;androidx.appcompat.widget.AppCompatImageView
                          android:id=&quot;@+id/calendarIcon&quot;
                          android:layout_width=&quot;35dp&quot;
                          android:layout_height=&quot;35dp&quot;
                          app:srcCompat=&quot;@drawable/ic_installment&quot; /&gt;
  
                      &lt;TextView
                          android:id=&quot;@+id/calendarTitle&quot;
                          android:layout_width=&quot;wrap_content&quot;
                          android:layout_height=&quot;30dp&quot;
                          android:layout_marginTop=&quot;2dp&quot;
                          android:gravity=&quot;center_horizontal&quot;
                          android:lineSpacingExtra=&quot;2sp&quot;
                          android:text=&quot;Рассрочка&quot;
                          android:textColor=&quot;@color/colorDark&quot;
                          android:textSize=&quot;11sp&quot; /&gt;
                  &lt;/LinearLayout&gt;
  
                  &lt;LinearLayout
                      android:id=&quot;@+id/currencyLayout&quot;
                      android:layout_width=&quot;match_parent&quot;
                      android:layout_height=&quot;match_parent&quot;
                      android:layout_weight=&quot;1&quot;
                      android:gravity=&quot;center&quot;
                      android:orientation=&quot;vertical&quot;&gt;
  
                      &lt;androidx.appcompat.widget.AppCompatImageView
                          android:id=&quot;@+id/currencyIcon&quot;
                          android:layout_width=&quot;35dp&quot;
                          android:layout_height=&quot;35dp&quot;
                          app:srcCompat=&quot;@drawable/ic_partners&quot; /&gt;
  
                      &lt;TextView
                          android:id=&quot;@+id/currencyTitle&quot;
                          android:layout_width=&quot;wrap_content&quot;
                          android:layout_height=&quot;30dp&quot;
                          android:layout_marginTop=&quot;2dp&quot;
                          android:gravity=&quot;center_horizontal&quot;
                          android:lineSpacingExtra=&quot;2sp&quot;
                          android:text=&quot;Партнёры&quot;
  
                          android:textColor=&quot;@color/colorDark&quot;
                          android:textSize=&quot;11sp&quot; /&gt;
                  &lt;/LinearLayout&gt;
  
              &lt;/LinearLayout&gt;
  
              &lt;LinearLayout
                  android:layout_width=&quot;match_parent&quot;
                  android:layout_height=&quot;70dp&quot;
                  android:layout_marginTop=&quot;20dp&quot;
                  android:orientation=&quot;horizontal&quot;
                  android:paddingLeft=&quot;8dp&quot;
                  android:paddingRight=&quot;8dp&quot;&gt;
  
                  &lt;LinearLayout
                      android:id=&quot;@+id/expressLayout&quot;
                      android:layout_width=&quot;match_parent&quot;
                      android:layout_height=&quot;match_parent&quot;
                      android:layout_weight=&quot;1&quot;
                      android:gravity=&quot;center&quot;
                      android:orientation=&quot;vertical&quot;&gt;
  
                      &lt;androidx.appcompat.widget.AppCompatImageView
                          android:id=&quot;@+id/expressIcon&quot;
                          android:layout_width=&quot;35dp&quot;
                          android:layout_height=&quot;35dp&quot;
                          app:srcCompat=&quot;@drawable/ic_partners&quot; /&gt;
  
                      &lt;TextView
                          android:id=&quot;@+id/expressTitle&quot;
                          android:layout_width=&quot;wrap_content&quot;
                          android:layout_height=&quot;30dp&quot;
                          android:layout_marginTop=&quot;2dp&quot;
                          android:gravity=&quot;center_horizontal&quot;
                          android:lineSpacingExtra=&quot;2sp&quot;
  
                          android:text=&quot;Финансы&quot;
  
                          android:textColor=&quot;@color/colorDark&quot;
                          android:textSize=&quot;11sp&quot; /&gt;
                  &lt;/LinearLayout&gt;
  
                  &lt;LinearLayout
                      android:id=&quot;@+id/nfcLayout&quot;
                      android:layout_width=&quot;match_parent&quot;
                      android:layout_height=&quot;match_parent&quot;
                      android:layout_weight=&quot;1&quot;
                      android:gravity=&quot;center&quot;
                      android:orientation=&quot;vertical&quot;&gt;
  
                      &lt;androidx.appcompat.widget.AppCompatImageView
                          android:id=&quot;@+id/nfcIcon&quot;
                          android:layout_width=&quot;35dp&quot;
                          android:layout_height=&quot;35dp&quot;
                          app:srcCompat=&quot;@drawable/ic_monitoring&quot; /&gt;
  
                      &lt;TextView
                          android:id=&quot;@+id/nfcTitle&quot;
                          android:layout_width=&quot;wrap_content&quot;
                          android:layout_height=&quot;30dp&quot;
                          android:layout_marginTop=&quot;2dp&quot;
                          android:gravity=&quot;center_horizontal&quot;
                          android:lineSpacingExtra=&quot;2sp&quot;
                          android:text=&quot;Мониторинг&quot;
  
                          android:textColor=&quot;@color/colorDark&quot;
                          android:textSize=&quot;11sp&quot; /&gt;
                  &lt;/LinearLayout&gt;
  
  
                  &lt;LinearLayout
                      android:id=&quot;@+id/qrLayout&quot;
                      android:layout_width=&quot;match_parent&quot;
                      android:layout_height=&quot;match_parent&quot;
                      android:layout_weight=&quot;1&quot;
                      android:gravity=&quot;center&quot;
                      android:orientation=&quot;vertical&quot;&gt;
  
                      &lt;androidx.appcompat.widget.AppCompatImageView
                          android:id=&quot;@+id/qrIcon&quot;
                          android:layout_width=&quot;35dp&quot;
                          android:layout_height=&quot;35dp&quot;
                          app:srcCompat=&quot;@drawable/ic_conversion&quot; /&gt;
  
                      &lt;TextView
                          android:id=&quot;@+id/qrTitle&quot;
                          android:layout_width=&quot;wrap_content&quot;
                          android:layout_height=&quot;30dp&quot;
                          android:layout_marginTop=&quot;2dp&quot;
                          android:gravity=&quot;center_horizontal&quot;
                          android:lineSpacingExtra=&quot;2sp&quot;
                          android:text=&quot;Конвертация&quot;
  
                          android:textColor=&quot;@color/colorDark&quot;
                          android:textSize=&quot;11sp&quot; /&gt;
                  &lt;/LinearLayout&gt;
  
                  &lt;LinearLayout
                      android:id=&quot;@+id/filialLayout&quot;
                      android:layout_width=&quot;match_parent&quot;
                      android:layout_height=&quot;match_parent&quot;
                      android:layout_weight=&quot;1&quot;
                      android:gravity=&quot;center&quot;
                      android:orientation=&quot;vertical&quot;&gt;
  
                      &lt;androidx.appcompat.widget.AppCompatImageView
                          android:id=&quot;@+id/filialIcon&quot;
                          android:layout_width=&quot;35dp&quot;
                          android:layout_height=&quot;35dp&quot;
                          app:srcCompat=&quot;@drawable/ic_location&quot; /&gt;
  
                      &lt;TextView
                          android:id=&quot;@+id/filialTitle&quot;
                          android:layout_width=&quot;wrap_content&quot;
                          android:layout_height=&quot;30dp&quot;
                          android:layout_marginTop=&quot;2dp&quot;
                          android:gravity=&quot;center_horizontal&quot;
                          android:lineSpacingExtra=&quot;2sp&quot;
                          android:text=&quot;Локации&quot;
  
                          android:textColor=&quot;@color/colorDark&quot;
                          android:textSize=&quot;11sp&quot; /&gt;
                  &lt;/LinearLayout&gt;
  
              &lt;/LinearLayout&gt;
          &lt;/LinearLayout&gt;
  
          &lt;androidx.constraintlayout.widget.ConstraintLayout
              android:id=&quot;@id/bottom&quot;
              android:layout_width=&quot;match_parent&quot;
              android:layout_height=&quot;wrap_content&quot;
              android:layout_marginTop=&quot;@dimen/dp_16&quot;
              android:layout_marginBottom=&quot;@dimen/dp_16&quot;
              android:background=&quot;@color/white&quot;
              android:padding=&quot;@dimen/dp_16&quot;
              app:layout_constraintBottom_toBottomOf=&quot;parent&quot;
              app:layout_constraintTop_toBottomOf=&quot;@id/grid&quot;&gt;
  
              &lt;androidx.appcompat.widget.AppCompatTextView
                  android:id=&quot;@+id/text&quot;
                  android:layout_width=&quot;match_parent&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  android:layout_marginTop=&quot;@dimen/dp_14&quot;
                  android:fontFamily=&quot;@font/manrope_bold&quot;
                  android:text=&quot;Быстрый перевод&quot;
                  android:textColor=&quot;#071222&quot;
                  android:textSize=&quot;@dimen/font.14&quot;
                  app:layout_constraintEnd_toEndOf=&quot;parent&quot;
                  app:layout_constraintStart_toStartOf=&quot;parent&quot;
                  app:layout_constraintTop_toTopOf=&quot;parent&quot;
  
                  /&gt;
  
              &lt;androidx.appcompat.widget.AppCompatEditText
                  android:layout_width=&quot;match_parent&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  android:layout_marginTop=&quot;11dp&quot;
                  android:background=&quot;@drawable/bg_shape_edittext&quot;
                  android:drawableEnd=&quot;@drawable/ic_person&quot;
                  android:hint=&quot;Номер карты или телефон&quot;
                  android:imeOptions=&quot;actionDone&quot;
                  android:inputType=&quot;text&quot;
                  android:maxLines=&quot;1&quot;
                  android:padding=&quot;@dimen/dp_12&quot;
                  android:textColor=&quot;#8C8C8C&quot;
                  app:layout_constraintEnd_toEndOf=&quot;parent&quot;
                  app:layout_constraintStart_toStartOf=&quot;parent&quot;
                  app:layout_constraintTop_toBottomOf=&quot;@id/text&quot;
                  app:layout_constraintBottom_toBottomOf=&quot;parent&quot;
  
  
                  /&gt;
          &lt;/androidx.constraintlayout.widget.ConstraintLayout&gt;
  &lt;/ScrollView&gt;
  </code></pre>