ScrollViewMain.Initialize(0)
ScrollViewScore.Initialize(0)
PanelMain.Initialize(0)
PanelHighScore.Initialize(0)
PanelMain = ScrollViewMain.Panel
Activity.AddView(ScrollViewMain, 0, 0, 100%x, 100%y - 50dip)
If Activity.Height > 480dip Then
PanelMain.Height = 100%y - 50dip
Else
PanelMain.Height = 430dip
End If
PanelMain.Width = 100%x
PanelMain.LoadLayout("cast")
ScrollViewMain.Visible = True
ButtonAnswer.Initialize("ButtonAnswer")
Activity.AddView(ButtonAnswer, 0%x, 100%y - 50dip, 50%x, 50dip)
ButtonNext.Initialize("ButtonNext")
Activity.AddView(ButtonNext, 50%x, 100%y - 50dip, 50%x, 50dip)