#Region Project Attributes
#ApplicationLabel: b4aCroller
#VersionCode: 1
#VersionName:
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: portrait
#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 cr1 As Croller
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("main")
cr1.LabelColor = Colors.White
cr1.LabelSize = 35
cr1.BackCircleColor = Colors.Magenta
cr1.IndicatorWidth = 12
cr1.IndicatorColor = Colors.Blue
cr1.MainCircleColor = Colors.Yellow
cr1.ProgressSecondaryColor = Colors.White
cr1.ProgressPrimaryColor = Colors.Cyan
cr1.ProgressSecondaryCircleSize = 7
cr1.SweepAngle = 330
cr1.Maximum = 50
cr1.IsContinuous = False
cr1.Progress = 25
cr1.Label = "" & cr1.CrollerProgress
cr1.StartOffset = 30
cr1.ProgressPrimaryCircleSize = 9
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub cr1_value_changed(value As Int)
cr1.Label = "" & value
End Sub