Android Question Generating Panels in Scrollview

here we go...is the same like with other views:
Code:
...
Panel0=ScrollView1.Panel 'get the internal scrollview panel
Dim panel1 As Panel
Dim PanelTop, PanelHeight As Int

PanelHeight=85dip
PanelTop = 0
Panel0.AddView(panel1,0,PanelTop,ScrollView1.Width,PanelHeight)
...
you can do this within a for loop and add the panel1 several times in different PanelTop Positions...
 
Upvote 0
Back
Top