This is my XML
code for RecyclerView
item. The problem is, each item is shown in a whole page of app. please help me fixing this:
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/rootlayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="8dp"
android:background="@color/black"
android:gravity="center">
<com.makeramen.roundedimageview.RoundedImageView
android:id="@+id/iv_wall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scaleType="centerCrop"
app:riv_corner_radius="5dp" />
<View
android:id="@+id/view_wall"
android:layout_width="160dp"
android:layout_height="70dp"
android:layout_alignParentBottom="true"
android:background="@drawable/bg_gradient_black_round"
android:gravity="center_vertical" />