Solution 1 :
Make image size static,In wrap content it cause compress. set fix size to your root view it solve problem.
Solution 2 :
I believe your items root width is
wrap_content, try it with
I have a
GrideLayoutManger. When I rotate the phone, the RecyclerView item card size changes.
How can I solve this problem?
Actual card size before rotating phone:
After rotating the phone:
Comment posted by Ergin Ersoy
Please add your code so we can see what you did so far.
Comment posted by Ali Rezaiyan
Try to use setHasFixedSize(true) on your recyclerview
Comment posted by Prashanth Verma
Please add your recyclerview and adapter code
Comment posted by Fahad Alotaibi
change the width of the card to match_parent