Side Menu Layout¶
Non-Visible componentCategory | Requires | Version |
---|---|---|
Layout > Navigation | API 21, Android 5.0 Lollipop | 2 |
Overview¶
A non-visible component that creates a side menu.
Side menus are navigation menus that slide from the left of the screen via a swipe-right gesture.
Events¶
On Menu Item Click¶
Triggers when the user clicks on an item of the Navigation Menu
Params | |
---|---|
title | Text |
Methods¶
Add Item¶
Add an item to the Navigation Menu
Params | |
---|---|
title | Text |
image | Text |
enabled | Boolean |
checked | Boolean |
group | Number |
Remove Item¶
Remove an item from the Navigation Menu
Params | |
---|---|
title | Text |
Update Item¶
Update an item of the Navigation Menu
Params | |
---|---|
title | Text |
new Title | Text |
image | Text |
enabled | Boolean |
checked | Boolean |
Properties¶
Background Color¶
Color Default: #FFFFFFFF Read Write - Designer Blocks
Set the background color of the Sidemenu Layout
Circle Header Picture¶
Boolean Default: False Read Write - Designer Blocks
Sets (or not) the header picture to use a circle shape
Disabled Color¶
Color Default: #9E9E9EFF Read Write - Designer Blocks
Sets the color of the disabled elements of the SideMenu
Enabled Color¶
Color Default: #000000FF Read Write - Designer Blocks
Sets the color of the enabled elements of the SideMenu
Header Background Image¶
Text Read Write - Designer Blocks
Sets the Header Background Picture
Header Picture¶
Text Read Write - Designer Blocks
Sets the Header Picture of the Side Menu
Header Subtitle¶
Text Read Write - Designer Blocks
Sets the Header Subtitle
Header Title¶
Text Read Write - Designer Blocks
Sets the Header Title
Selected Color¶
Color Default: #E81E63FF Read Write - Designer Blocks
Sets the color of the selected element of the SideMenu