setSimpleIndexScroll

open fun setSimpleIndexScroll(indexBarChar: Array<String>, width: Int)(source)

Sets the index bar to a simple scroll mode with a custom character array and width.

Parameters

indexBarChar

An array of strings representing the characters to be displayed in the index bar. If null, an IllegalArgumentException will be thrown.

width

The desired width of the simple index scroll bar in pixels. If 0, a default width will be used.

Throws

if indexBarChar is null.