MobileUI LogoMobileUI
/

Slider


A Slider is an extension of ProgressBar that adds a draggable thumb.

Slider on iOS
Slider on Android
iOSAndroid

Usage

A nice green slider
<Slider value="#{value}" trackColor="green" thumbColor="green" width="fill_parent"/>

Attributes

NameTypeDefaultBindingDescription

Inherits all attributes from View and adds the following attributes:

max

int

100

output

Color of the ProgressBar's active track

min

int

0

output

The minimum value being emitted when the user pulls the slider to the minimum setting.

value

int

0

input/output

The actual value being set with the thumb.

thumbColor

color

gray

output

Color of the thumb.

trackColor

color

gray

output

Color for the active part of of the track.


Parts of this documentation are a derivate of the Android Developer Documentation by Google used under CC-BY-2.5.