Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.
Rey Pham edited this page Apr 1, 2015 · 9 revisions

Slider

com.rey.material.widget.Silder

Attributes

  • sl_trackSize - The stroke's width of the track bar.

  • sl_trackCap - The cap setting of track bar.

  • sl_primaryColor - The foreground color of track bar and thumb.

  • sl_secondaryColor - The background color of track bar.

  • sl_thumbBorderSize - The border's width of thumb.

  • sl_thumbRadius - The radius of thumb.

  • sl_thumbFocusRadius - The radius of thumb when focused.

  • sl_travelAnimDuration - The max time the thumb takes to move from left to right side.

  • sl_transformAnimDuration - The duration of animation when thumb switch to focused state.

  • sl_interpolator - The interpolator of animations.

  • sl_minValue - The min value of slider.

  • sl_maxValue - The max value of slider.

  • sl_stepValue - The step value of slider (used in DISCRETE mode).

  • sl_value - The current value of slider.

  • sl_discreteMode - If true, slider is in DISCRETE mode, false and slider is in CONTINUOUS mode

  • sl_fontFamily - The fontFamily of text (used in DISCRETE mode).

  • sl_textStyle - The style of text (used in DISCRETE mode).

  • sl_textSize - The size of text (used in DISCRETE mode).

  • sl_textColor - The color of text (used in DISCRETE mode).

Clone this wiki locally