setActiveIndicatorMarginHorizontal

open fun setActiveIndicatorMarginHorizontal(@Px marginHorizontal: Int)

Set the horizontal margin that will be maintained at the start and end of the active indicator, making sure the indicator remains the given distance from the edge of this item view.

Parameters

marginHorizontal

The horizontal margin, in pixels.

See also

updateActiveIndicatorLayoutParams(int)