how do I get rid of this strange padding in the layout below:
Please remove this from your code -
card_view:cardUseCompatPadding="true"