hi i have this code :
what is wrong?
B4X:
Dim zane As ImageView
Dim left1 , top1 As Int
left1 =4.3%x
top1 = 3%x
zane.Initialize("")
For i = 1 To 15
Dim p As Panel
p.Initialize("p")
p.Background=bi
'zane.Background=
ScrollView1.Panel.AddView(p,left1,top1,30%x,20%y)
p.AddView(zane,0,0,100%x,100%y)
zane.SetBackgroundImage(LoadBitmap(File.DirAssets,"2_35.png"))
ScrollView1.SendToBack
left1 = left1 + 31%x
p.Tag = i
If i mod 3 = 0 Then
top1 = top1 + 24%y
ScrollView1.Panel.Height = top1 + 31%y
ScrollView1.Height=top1-22%y
left1 = 4.3%x
End If
Next