Border in RecycleView Android

I’m using RecycleView, there shouldn’t be a border after each item in the recycle view, but I have. How to remove it? I think the problem is in the LayoutManager because there is not border in the last element of RecycleView <androidx.recyclerview.widget.RecyclerView android:background="@color/menu_background" //here is non border android:layout_width="match_parent" android:layout_height="wrap_content" android:clipToPadding="false" tools:listitem="@layout/cabin_category_info_layout" /> And it’s CardView… Read More Border in RecycleView Android