setItems
Parameters
mainIconId
resource for main button
subItemsList
list of sub menu items
rootView
the root view of the screen. This will be used to detect touch outside this widget which should collapse the menu.
resource for main button
list of sub menu items
the root view of the screen. This will be used to detect touch outside this widget which should collapse the menu.