LinearProgressBar

Last Updated On 2021-07-16

Version 1MinSDK 7Tutorial Video

A new component


Properties

You can set the below properties in the UI part of the builder.

  • BackgroundColor - it's a color value which is set to &h00000000 by default.
  • HeihMargin - it's a four value which is set to 0,0,0,0 by default.
  • HeihPadding - it's a four value which is set to 0,0,0,0 by default.
  • Indeterminate - it's a boolean value which is set to false by default.
  • MarginBottom - it's a non negative float value which is set to 0 by default.
  • MarginLeft - it's a non negative float value which is set to 0 by default.
  • MarginRight - it's a non negative float value which is set to 0 by default.
  • MarginTop - it's a non negative float value which is set to 0 by default.
  • Max - it's a integer value which is set to 0 by default.
  • PaddingBottom - it's a non negative float value which is set to 0 by default.
  • PaddingLeft - it's a non negative float value which is set to 0 by default.
  • PaddingRight - it's a non negative float value which is set to 0 by default.
  • PaddingTop - it's a non negative float value which is set to 0 by default.
  • Progress - it's a integer value which is set to 0 by default.
  • ProgressColor - it's a color value which is set to &h00000000 by default.
  • TrackCornerRadius - it's a integer value which is set to 0 by default.
  • TrackThickness - it's a integer value which is set to 4 by default.
  • Visible - it's a visibility value which is set to true by default.

Block Properties

You can set the below blocks properties in the blocks section of the builder.

BackgroundColor

Property for BackgroundColor


Indeterminate

Set progress type indeterminate


IndeterminateColor

Set indeterminate color


MarginBottom

Property for MarginBottom


MarginLeft

Property for MarginLeft


MarginRight

Property for MarginRight


MarginTop

Property for MarginTop


Max

Set max range


PaddingBottom

Property for PaddingBottom


PaddingLeft

Property for PaddingLeft


PaddingRight

Property for PaddingRight


PaddingTop

Property for PaddingTop


Progress

Set progress


ProgressColor

Set progress color


TrackCornerRadius

Property for TrackCornerRadius


TrackThickness

Property for TrackThickness


Visible

Specifies whether the NiotronLinearProgressBar should be visible on the screen. Value is true if the NiotronLinearProgressBar is showing and false if hidden.


Width

Specifies the horizontal width of the NiotronLinearProgressBar, measured in pixels.


WidthPercent

Specifies the horizontal width of the NiotronLinearProgressBar as a percentage of the width of the Screen.



Methods

You can set the below method blocks in the blocks section of the builder.

SetContinuousColors

Method for SetContinuousColors