hi
i must create a listview with code into scrollview.
This is my code:
Sub Globals
Dim countgironi As Int
Dim ListView As ListView
Dim Sc As ScrollView
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("frmgironi")
Activity.Title ="GIRONI"
ListView.Initialize(200dip)
Sc.Panel.AddView(ListView,20%x,100%y,100dip,80dip)
ListView.FastScrollEnabled=True
ListView.AddSingleLine ("player")
End Sub
but when I start the activity you do not see the listview, where am I wrong? can you help me?
Bye
i must create a listview with code into scrollview.
This is my code:
Sub Globals
Dim countgironi As Int
Dim ListView As ListView
Dim Sc As ScrollView
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("frmgironi")
Activity.Title ="GIRONI"
ListView.Initialize(200dip)
Sc.Panel.AddView(ListView,20%x,100%y,100dip,80dip)
ListView.FastScrollEnabled=True
ListView.AddSingleLine ("player")
End Sub
but when I start the activity you do not see the listview, where am I wrong? can you help me?
Bye