setActiveIndicatorWidth

open fun setActiveIndicatorWidth(width: Int)

Set the desired width of the active indicator.

If the item view is not wide enough to accommodate the given width plus any horizontal margin, the width will be set to the width of the item view minus any horizontal margin.

Parameters

width

The desired width of the active indicator.