This is an example of how it could have been done previously in the ListView class, using the divider and dividerHeight parame
ListView
If you want to add same space for items, the simplest way is to add top+left padding for RecycleView and right+bottom margins to card items.
dimens.xml
1dp
list_item.xml
...
list.xml