setPaddingRes

open fun setPaddingRes(@DimenRes() paddingRes: Int)

Set a dimension resource to specify the padding value to use on each side of the carousel andin between carousel items.