Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("Main")
tbnPages.AddTab("Play","Play")
tbnPages.AddTab("About","About")
tbnPages.Height = Activity.Height
tbnPages.Width = Activity.Width
Dim wGap As Int = (tbnPages.Width - (2 * lblYellow.Width)) / 3
lblYellow.left = wGap
lblYellow.Top = wGap
lblGreen.left = lblYellow.Width + (2 * wGap)
lblGreen.Top = lblYellow.top
lblRed.left = lblYellow.Left
lblRed.Top = lblYellow.height + (2 * wGap)
lblBlue.left = lblGreen.left
lblBlue.Top = lblRed.top
End Sub