DpadLinearSpacingDecoration

constructor(@Px itemSpacing: Int, @Px minEdgeSpacing: Int, @Px maxEdgeSpacing: Int, @Px perpendicularEdgeSpacing: Int)

Parameters

itemSpacing

spacing between items in the layout direction

minEdgeSpacing

spacing between the start edge and the first item. Default is itemSpacing if not specified.

maxEdgeSpacing

spacing between the last item and the end edge Default is itemSpacing if not specified.

perpendicularEdgeSpacing

spacing between the edges perpendicular to the layout orientation. Default is 0.