Linear Progressbar¶
Category | Requires | Version |
---|---|---|
User Interface | API 21, Android 5.0 Lollipop | 1 |
Overview¶
A visible component that indicates the progress of an operation using an animated linear bar.
Events¶
Progress Changed¶
Event that indicates that the progress of the progress bar has been changed. Returns the current progress value. If "Indeterminate" is set to true, then it returns "0".
Params | |
---|---|
progress | Number |
Methods¶
Increment Progress By¶
Increase the progress bar's progress by the specified amount.
Params | |
---|---|
value | Number |
Properties¶
Indeterminate¶
Boolean Default: True Read Write - Designer Blocks
Change the indeterminate mode for this progress bar. In indeterminate mode, the progress is ignored and the progress bar shows an infinite animation instead.
Indeterminate Color¶
Color Default: #2196F2FF Read Write - Designer Blocks
Change the indeterminate color of the progress bar.
Maximum¶
Number Default: 100 Read Write - Designer Blocks
Set the upper range of the progress bar max.
Minimum¶
Number Default: 0 Read Write - Designer Blocks
Set the lower range of the progress bar to min. This function works only for devices with API >= 26
Progress¶
Number Read Write - Blocks
Sets the current progress to the specified value. Does not do anything if the progress bar is in indeterminate mode.
Progress Color¶
Color Default: #2196F2FF Read Write - Designer Blocks
Change the progress color of the progress bar.
Visible¶
Boolean Default: True Read Write - Designer Blocks
Returns true iff the component is visible.
Width¶
Number Read Write - Blocks
Specifies the component's horizontal width, measured in pixels.
Width Percent¶
Number Write - Blocks
Specifies the component's horizontal width as a percentageof the Width of its parent Component.