slider
open fun slider(itemId: String, label: String, min: Int, max: Int, step: Int, value: Int, centred: Boolean): PageSpec(source)
A slider row from min to max in steps of step; each knob step arrives as a value (the level). Needs min < max, step >= 1, (max - min) % step == 0, at most MAX_SLIDER_STEPS steps and value = min + k * step within the range; centred (drawn from the middle, as a balance) needs an even step count. Anything else throws IllegalArgumentException. Counts toward MAX_INPUT_ROWS. Needs api 5.
Since
api 5