4
我需要在CardView
之间添加空格。我试过使用card_view:cardUseCompatPadding
,它不起作用。任何帮助?CardView之间的空格
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<android.support.v7.widget.CardView
android:id="@+id/all_restaurant_card_view"
android:layout_width="wrap_content"
android:layout_height="120dp"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
card_view:cardPreventCornerOverlap="true"
card_view:cardUseCompatPadding="true">
如何定期填充/利润率?取决于您希望添加空间的位置。 – Vucko