I want to load a layout several times in a scrollview. I have tried the below code but the layout is not showing. Kindly assist
B4X:
Dim btn As Int=0
For i = 0 To 9
Dim panelx As Panel
panelx.Initialize("")
panelx.LoadLayout("pnltest")
ScrollView1.Panel.AddView(panelx, 0, btn,400dip,400dip)
btn=btn+410dip
Next
ScrollView1.Color=Colors.Green
ScrollView1.Panel.Height = 1000dip
Last edited: