setItemActiveIndicatorMarginHorizontal

open fun setItemActiveIndicatorMarginHorizontal(@Px horizontalMargin: 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 its parent container.

Parameters

horizontalMargin

The horizontal margin, in pixels.