Android Recyclerview Blank Space
I have an android project and I am using Recycler view to print a list with items, each item has just one image and between those images, android is creating a big blank space. I r
Solution 1:
Problem is with RecyclerView
item layout. You have given match_parent
property to ImageView
. Instead of this give constant size like 48dp
.
Solution 2:
In the lista_item layout, you should set the height to wrap_content
or a constant size.
Post a Comment for "Android Recyclerview Blank Space"