MaterialSpinner

Last Updated On 2021-07-16

Version 1MinSDK 7Tutorial Video

New Material design textbox. Helps to create textbox with matial design provided by google


Properties

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

  • Bordered - it's a boolean value which is set to false by default.
  • CustomFontTypeFace - it's a asset value which is set to blank by default.
  • Enabled - it's a boolean value which is set to true by default.
  • FontBold - it's a boolean value which is set to false by default.
  • FontTypeface - it's a typeface value which is set to 0 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.
  • Hint - it's a string value which is set to hint by default.
  • ItemsFromString - it's a text value which is set to blank 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.
  • 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.
  • RadiusBottomLeft - it's a float value which is set to 5 by default.
  • RadiusBottomRight - it's a float value which is set to 5 by default.
  • RadiusTopLeft - it's a float value which is set to 5 by default.
  • RadiusTopRight - it's a float value which is set to 5 by default.
  • StartIcon - it's a text value which is set to blank by default.
  • StartIconTint - it's a color value which is set to &h00000000 by default.
  • Text - it's a string value which is set to blank by default.
  • TextColor - it's a color value which is set to &hff000000 by default.
  • TextSize - it's a float value which is set to 14.0 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.

CustomFontTypeFace

Sets the custom font


Enabled

Property for Enabled


Height

Specifies the vertical height of the NiotronMaterialSpinner, measured in pixels.


HeightPercent

Specifies the vertical height of the NiotronMaterialSpinner as a percentage of the height of the Screen.


Hint

Set hint for material spinner


ItemsFromString

Property for ItemsFromString


MarginBottom

Property for MarginBottom


MarginLeft

Property for MarginLeft


MarginRight

Property for MarginRight


MarginTop

Property for MarginTop


PaddingBottom

Property for PaddingBottom


PaddingLeft

Property for PaddingLeft


PaddingRight

Property for PaddingRight


PaddingTop

Property for PaddingTop


RadiusBottomLeft

Bottom left radious


RadiusBottomRight

Bottom right radious


RadiusTopLeft

Top left radious


RadiusTopRight

Top right radious


StartIcon

Property for StartIcon


Text

Sets the text


TextColor

Set text color of the spinner


TextSize

Sets the text size


Visible

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


Width

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


WidthPercent

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



Events

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

ItemClick

Raises when item is selected

OnFocusChange

Raises when focus changes