BottomNavigation

Last Updated On 2021-07-16

Version 1MinSDK 7Tutorial Video

Bottom navigation view


Properties

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

  • BackgroundColor - it's a color value which is set to &hffffffff 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.
  • IconSelectedColor - it's a color value which is set to &hff0000ff by default.
  • IconUnSelectedColor - it's a color value which is set to &hff888888 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.
  • RippleColor - it's a color value which is set to &hff0000ff by default.
  • TitleSelectedColor - it's a color value which is set to &hff0000ff by default.
  • TitleUnSelectedColor - it's a color value which is set to &hff888888 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


Height

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


HeightPercent

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


IconSelectedColor

Property for IconSelectedColor


IconUnSelectedColor

Property for IconUnSelectedColor


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


RippleColor

Property for RippleColor


SelectItem

Property for SelectItem


TitleSelectedColor

Property for TitleSelectedColor


TitleUnSelectedColor

Property for TitleUnSelectedColor


Visible

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


Width

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


WidthPercent

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



Methods

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

ClearAllItem

Method for ClearAllItem

ClearItem

Method for ClearItem

addItem

Method for addItem


Events

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

OnItemReSelected

Event for OnItemReSelected

OnItemSelected

Event for OnItemSelected