В layout Android-проекта последний пункт RecycleView показывается не полностью

В лейоуте присутствует RecyclerView, который при прокрутке до самого низа списка показывает только часть последнего элемента. Помогите пожалуйста разобраться что не так в верстке.

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/eaten_main_container"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/primaryLightColor"
    tools:context=".views.EatenTempActivity">

    <com.google.android.material.card.MaterialCardView
        android:id="@+id/summary_card"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_margin="8dp"
        app:cardCornerRadius="4dp"
        app:cardElevation="4dp"
        app:layout_constraintTop_toTopOf="parent"
        tools:layout_editor_absoluteX="8dp">

        <androidx.constraintlayout.widget.ConstraintLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

            <TextView
                android:id="@+id/summary_text"
                style="@style/TextAppearance.MaterialComponents.Headline6"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:fontFamily="@font/astakhov_access_degree_lf"
                android:maxWidth="400dp"
                android:text="Дневная статистика"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toTopOf="parent"
                tools:text="Дневная статистика" />

            <TextView
                android:id="@+id/eaten_product_calories_text"
                style="@style/TextAppearance.MaterialComponents.Body2"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginStart="8dp"
                android:layout_marginTop="8dp"
                android:layout_marginBottom="5dp"
                android:contentDescription="Белки"
                android:fontFamily="@font/astakhov_access_degree_lf"
                android:text="ККАЛ:"
                app:layout_constraintBottom_toBottomOf="parent"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toBottomOf="@id/summary_text"
                tools:text="ККАЛ:" />

            <TextView
                android:id="@+id/eaten_product_calories_value"
                style="@style/TextAppearance.MaterialComponents.Body2"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginStart="4dp"
                android:layout_marginTop="8dp"
                android:layout_marginBottom="5dp"
                android:contentDescription="Количество белков в 100г продукта"
                android:fontFamily="@font/astakhov_access_degree_lf"
                android:text=""
                android:textColor="@color/caloriesColor"
                android:textStyle="bold"
                app:layout_constraintBottom_toBottomOf="parent"
                app:layout_constraintStart_toEndOf="@id/eaten_product_calories_text"
                app:layout_constraintTop_toBottomOf="@id/summary_text"
                tools:text="108" />

            <TextView
                android:id="@+id/eaten_product_b_text"
                style="@style/TextAppearance.MaterialComponents.Body2"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginStart="8dp"
                android:layout_marginTop="8dp"
                android:contentDescription="Белки"
                android:fontFamily="@font/astakhov_access_degree_lf"
                android:text="Б:"
                app:layout_constraintStart_toEndOf="@id/eaten_product_calories_value"
                app:layout_constraintTop_toBottomOf="@id/summary_text"
                tools:text="Б:" />

            <TextView
                android:id="@+id/eaten_product_b_value"
                style="@style/TextAppearance.MaterialComponents.Body2"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginStart="4dp"
                android:layout_marginTop="8dp"
                android:contentDescription="Количество белков в 100г продукта"
                android:fontFamily="@font/astakhov_access_degree_lf"
                android:text=""
                android:textColor="@color/proteineColor"
                android:textStyle="bold"
                app:layout_constraintStart_toEndOf="@id/eaten_product_b_text"
                app:layout_constraintTop_toBottomOf="@id/summary_text"
                tools:text="15" />

            <TextView
                android:id="@+id/eaten_product_fats_text"
                style="@style/TextAppearance.MaterialComponents.Body2"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginStart="8dp"
                android:layout_marginTop="8dp"
                android:contentDescription="Жиры"
                android:fontFamily="@font/astakhov_access_degree_lf"
                android:text="Ж:"
                app:layout_constraintStart_toEndOf="@id/eaten_product_b_value"
                app:layout_constraintTop_toBottomOf="@id/summary_text"
                tools:text="Ж:" />

            <TextView
                android:id="@+id/eaten_product_fats_value"
                style="@style/TextAppearance.MaterialComponents.Body2"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginStart="4dp"
                android:layout_marginTop="8dp"
                android:contentDescription="Количество жиров в 100г продукта"
                android:fontFamily="@font/astakhov_access_degree_lf"
                android:text=""
                android:textColor="@color/fatsColor"
                android:textStyle="bold"
                app:layout_constraintStart_toEndOf="@id/eaten_product_fats_text"
                app:layout_constraintTop_toBottomOf="@id/summary_text"
                tools:text="22" />

            <TextView
                android:id="@+id/eaten_product_carbohydrates_text"
                style="@style/TextAppearance.MaterialComponents.Body2"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginStart="8dp"
                android:layout_marginTop="8dp"
                android:contentDescription="Углеводы"
                android:fontFamily="@font/astakhov_access_degree_lf"
                android:text="У:"
                app:layout_constraintStart_toEndOf="@id/eaten_product_fats_value"
                app:layout_constraintTop_toBottomOf="@id/summary_text"
                tools:text="У:" />

            <TextView
                android:id="@+id/eaten_product_carbohydrates_value"
                style="@style/TextAppearance.MaterialComponents.Body2"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginStart="4dp"
                android:layout_marginTop="8dp"
                android:contentDescription="Количество углеводов в 100г продукта"
                android:fontFamily="@font/astakhov_access_degree_lf"
                android:text=""
                android:textColor="@color/carbohydratesColor"
                android:textStyle="bold"
                app:layout_constraintStart_toEndOf="@+id/eaten_product_carbohydrates_text"
                app:layout_constraintTop_toBottomOf="@+id/summary_text"
                tools:text="22" />
        </androidx.constraintlayout.widget.ConstraintLayout>
    </com.google.android.material.card.MaterialCardView>


    <com.google.android.material.card.MaterialCardView
        android:id="@+id/diary_card"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="8dp"
        app:cardCornerRadius="4dp"
        app:cardElevation="4dp"
        app:layout_constraintTop_toBottomOf="@id/summary_card"
        tools:layout_editor_absoluteX="8dp">

        <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/eaten_recycler_view"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@color/primaryLightColor"
            android:orientation="vertical"
            android:scrollbars="vertical"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintHorizontal_bias="0.0"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@+id/summary_card"
            app:layout_constraintVertical_bias="1.0" />
    </com.google.android.material.card.MaterialCardView>


    <com.google.android.material.floatingactionbutton.FloatingActionButton
        android:id="@+id/fab"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="bottom|end"
        android:layout_margin="@dimen/fab_margin"
        android:layout_marginEnd="12dp"
        android:layout_marginBottom="16dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:srcCompat="@android:drawable/ic_input_add" />


</androidx.constraintlayout.widget.ConstraintLayout>


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