@ SuppressWarnings ( "unused" ) public void setIndicatorWidth ( int indicatorWidth ) { mIndicatorWidth = indicatorWidth ; mIndicatorRectangle . set ( getPaddingLeft ( ) , getPaddingTop ( ) , getPaddingLeft ( ) + mIndicatorWidth , getMeasuredHeight ( ) - getPaddingBottom ( ) ) ; requestLayout ( ) ; }
Set indicator width