#Region Project Attributes
#ApplicationLabel: B4A Example
#VersionCode: 1
#VersionName:
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: unspecified
#CanInstallToExternalStorage: False
#End Region
#Region Activity Attributes
#FullScreen: False
#IncludeTitle: True
#End Region
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
End Sub
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Private sv, svp As ScrollView
Private pn As Panel
Private lv As ListView
End Sub
Sub Activity_Create(FirstTime As Boolean)
sv.Initialize(10000dip)
sv.Color = Colors.Black
Activity.AddView(sv,0,0,100%x,100%y)
pn.Initialize("")
sv.Panel.AddView(pn,5%x,25%y,90%x,50%y)
lv.Initialize("")
lv.Color =Colors.Red
pn.AddView(lv,pn.Left,pn.top,pn.Width,pn.Height)
For i=0 To 100
lv.AddSingleLine("cazzarola")
Next
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub