Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim lv As ListView
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("Layout1")
lv.Initialize("lv")
lv.SingleLineLayout.ItemHeight = 37dip
For i=0 To 12
lv.AddSingleLine2("Item #"&(i+1), i+1)
Next
Activity.AddView(lv, 0, 10%y, 300dip, 229dip)
End Sub