Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim mainToolbar As ACToolBarLight
End Sub
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.Initialize("Activity") 'toolbar not visible even if i remove this
mainToolbar.Initialize("mainToolbar")
Activity.AddView(mainToolbar, 0dip, 0dip, 100%x, 56dip)
mainToolbar.PopupTheme = mainToolbar.THEME_LIGHT
mainToolbar.Title = "Title"
mainToolbar.TitleTextColor = Colors.White
mainToolbar.SubTitle = "Sub Title"
mainToolbar.SubTitleTextColor = Colors.White
mainToolbar.Elevation = 4dip
End Sub