
To make the height of the map visible, I use the attribute card_view:cardUseCompatPadding="true" in the XML format of the map. He added an extra pad on all four sides of the card, but I don't need a bottom pad, since the card below each card already has a top pad. So at the moment it looks like double filling between two cards due to the upper and lower indentation. How to reduce it by half?
PS android:layout_marginBottom="-5dp" doesn't seem to work
source share