Исчезает половина Recyclerview

введите сюда описание изображения

Когда открыта клавиатура половина recyclerview исчезает, несмотря на то что после объекта Party существует еще несколько объектов.

Layout Адаптер:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_marginEnd="10dp"
    android:layout_marginStart="10dp"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:id="@+id/selectSearchEventLL">

   
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:layout_marginTop="20dp">

        <!-- Image -->
        <androidx.cardview.widget.CardView
            android:id="@+id/cardView"
            android:layout_width="96dp"
            android:layout_height="wrap_content"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent" >

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="vertical">

                <FrameLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content">

                    <ImageView
                        android:id="@+id/searchEventImg"
                        android:layout_width="96dp"
                        android:layout_height="96dp"
                        android:src="@drawable/yoga_96x96_2"/>

                    <TextView
                        android:id="@+id/searchEventPrice"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:text="20$"
                        android:layout_margin="5dp"
                        android:textSize="18sp"
                        android:textColor="@color/black"
                        android:fontFamily="@font/roboto"
                        android:background="@drawable/custom_background3"
                        android:paddingStart="10dp"
                        android:paddingEnd="10dp"/>

                </FrameLayout>


            </LinearLayout>


        </androidx.cardview.widget.CardView>

        <!-- Text -->
        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="20dp"
            android:orientation="vertical">

            <TextView
                android:id="@+id/searchEventName"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                tools:text="Yoga marathon 'Here\nand now'"
                android:fontFamily="@font/roboto"
                android:textSize="18sp"
                android:textColor="@color/black"/>

            <TextView
                android:id="@+id/searchEventHost"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                tools:text="Jane Majane"
                android:fontFamily="@font/roboto_light"
                android:textSize="18sp"
                android:textColor="@color/black"/>

            <TextView
                android:id="@+id/searchEventDate"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                tools:text="15 - 28 Aug"
                android:fontFamily="@font/roboto"
                android:textSize="18sp"
                android:textColor="@color/black"/>

        </LinearLayout>

        <!-- Clear and rate -->
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="vertical">

            <LinearLayout
                android:visibility="gone"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:id="@+id/searchEventClear"
                android:gravity="right">

                <ImageView
                    android:layout_width="22dp"
                    android:layout_height="22dp"
                    android:src="@drawable/ic_clear" />
            </LinearLayout>

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="horizontal"
                android:gravity="right|bottom">

                <TextView
                    android:id="@+id/searchEventRate"
                    android:layout_marginStart="10dp"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:fontFamily="@font/roboto"
                    android:text="4,5"
                    android:gravity="center"
                    android:textSize="18sp"
                    android:textColor="@color/black"
                    android:drawablePadding="5dp"
                    app:drawableStartCompat="@drawable/ic_mini_mood" />
            </LinearLayout>

        </LinearLayout>

    </LinearLayout>

    <View
        android:layout_width="match_parent"
        android:layout_height="1dp"
        android:layout_marginLeft="10dp"
        android:layout_marginRight="10dp"
        android:layout_below="@+id/textView1"
        android:layout_marginTop="20dp"
        android:background="@color/grey"
        android:alpha="0.3"/>


</LinearLayout>

А это Layout где recyclerview

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".Fragments.Search.SearchEventsFragment"
    android:orientation="vertical">

    <LinearLayout
        android:layout_marginTop="10dp"
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/searchEventRV"
            android:layout_width="match_parent"
            android:layout_height="match_parent"/>

    </LinearLayout>
</LinearLayout>

Ответы (0 шт):