Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim perc As PercentBarView
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")
perc.Initialize("perc")
Activity.AddView(perc,0,0,100%x,100%y)
perc.addAlphaView(Activity)
perc.AValue=30
perc.BValue=90
perc.BColor=Colors.Yellow
perc.AColor=Colors.White
perc.WidthBarA=20%x
perc.WidthBarB=20%x
perc.showResult
End Sub
Sub perc_click
Log(perc.AValue)
Log(perc.BValue)
End Sub