Sub Globals
Private ScrollView1 As ScrollView
Dim BotonB(16) As Button
Dim numB=0 As Int
Public inX As Int
Dim PanelB As Panel
End Sub
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("main")
'Crear Paneles
PanelB.Initialize("PanelB")
PanelB.Color=Colors.Transparent ' el color que tu quieras
PanelB.Visible=True
'Agregar Panel al Scroll
ScrollView1.Panel.Height=1500dip
ScrollView1.Panel.AddView(PanelB, 0,70%y,100%x,30%y)
'Crear Botones dentro del Panel
Crear_Botones
End Sub