#Region Project Attributes
#ApplicationLabel: BadgedImageView
#VersionCode: 1
#VersionName:
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: landscape
#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 bsiv1 As BadgedSquareImageView
Private bsiv2 As BadgedFourThreeImageView
Private bsiv3 As BadgedSquareImageView
Private bsiv4 As BadgedFourThreeImageView
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")
bsiv1.addImage("pluto")
bsiv1.BadgeColor = Colors.Magenta
bsiv2.BadgeTextSize = 15 'set the text size before you set the text
bsiv1.BadgeText = "MY DOG PLUTO"
bsiv1.showBadge(True)
bsiv1.badgeGravity = bsiv1.Gravity_START_TOP
bsiv2.addImage("stitch")
bsiv2.BadgeColor = Colors.Cyan
bsiv2.BadgeTextSize = 15 'set the text size before you set the text
bsiv2.BadgeText = "MY DOG STITCH"
bsiv2.showBadge(True)
bsiv2.BadgeGravity = bsiv2.Gravity_CENTER_TOP
bsiv3.addImage("stitch")
bsiv3.BadgeColor = Colors.WHITE
bsiv3.BadgeTextSize = 25 'set the text size before you set the text
bsiv3.BadgeText = "STITCH"
bsiv3.showBadge(True)
bsiv3.badgeGravity = bsiv3.Gravity_END_BOTTOM
bsiv4.addImage("pluto")
bsiv4.BadgeColor = Colors.Green
bsiv4.BadgeTextSize = 30 'set the text size before you set the text
bsiv4.BadgeText = "PLUTO"
bsiv4.showBadge(True)
bsiv4.badgeGravity = bsiv4.Gravity_START_BOTTOM
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub