Padding ang Margin On CardView

Designer Part

Annotation 2020-05-12 025112

Blocks

blocks (12)

AIA

TheLayout.aia (2.1 KB)

APK

TheLayout.apk (4.7 MB)

Result

Notes-

  • in my example CornerRadius is 50.
  • Margin bottom for card or any arrangement will be equal to negative of CornerRadius.
  • margin left and right will be -10 as card automatically have margin of 10px.
  • In above example i have taken VerticalArrangement2 whose margin bottom will be cornerRadius - 10 so that the amount of card that gone under screen will come up.

If this helps you mark it as solution… :slightly_smiling_face: :slightly_smiling_face:

5 Likes