ProgressBar

Examples

A white circular ProgressBar being visible, when the searching property is true.
<ProgressBar indeterminateTint="white"	height="32dp" width="32dp" visible="#{searching}" />
A green horizontal ProgressBar displaying dynamic progress.
<ProgressBar style="horizontal" progressTint="green"
                width="fill_parent" max="200" progress="#{myProgressValue}' />

Attributes

Name Type Default Binding Description

Inherits all attributes from View and adds the following:

indeterminate

boolean

false

output

Allows to enable the indeterminate mode. In this mode the progress bar plays an infinite looping animation.

max

unsigned int

100

output

Defines the maximum value the progress can take.

progress

unsigned int

0

output

Defines the progress value, between 0 and max.

secondaryProgress

unsigned int

0

output

Defines the secondary progress value, between 0 and max.

progressTint

colorType

platform-default

output

Tint to apply to the progress indicator.

indeterminateTint

boolean

platform-default

output

Tint to apply to the indeterminate progress indicator. Only applies if the ProgressBar is in indeterminate mode.

style

enum

circular

The display style of the ProgressBar. Can be one of horizontal, circular or circularInverse.


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

results matching ""

    No results matching ""