setPadding

open fun setPadding(@Nullable() padding: Carousel.Padding)

Use the Padding class to specify individual padding values for each side of thecarousel, as well as item spacing.

A value of null will set all padding and item spacing to 0.