Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
'Activity.LoadLayout("Layout1")
Activity.LoadLayout("main_managerpanel")
ManagerPanel1.NewPanel("First",1,Colors.RGB(255,216,0),Colors.RGB(127,0,0))
ManagerPanel1.NewPanel("Second",2,Colors.Yellow,Colors.RGB(107,63,127))
ManagerPanel1.NewPanel("Third",3,Colors.RGB(127,0,0),Colors.RGB(255,216,0))
ManagerPanel1.NewPanel("Fourth",4,Colors.Black,Colors.White)
Dim L As Label
L.Initialize("")
L.Text="My Label"
L.TextSize=20
L.TextColor=Colors.White
ManagerPanel1.getPanel(0).AddView(l,30dip,20dip,100dip,40dip)
ManagerPanel1.getPanelfromID(1).Color=Colors.ARGB(150,150,150,150)
End Sub
' -------------------------------------
Sub ManagerPanel1_Change (FromCode As Boolean, ID As String)
Log(FromCode & "-" & ID)
End Sub