when i'm scrolling between the cards view in RecyclerView widget, The distance between the cards is largely spaced How can I solve this problem? so that the distance between cards does not change when scrolling
Try your main layout height wrap_content
instead of match_parent
or post the code here so we can give you a perfect answer
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.