#Region Project Attributes
#ApplicationLabel: b4aBifacialView
#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 bv1 As BifacialView
Dim mbmd1 As BitmapDrawable
Dim mbmd2 As BitmapDrawable
Dim mbm1 As Bitmap
Dim mbm2 As Bitmap
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")
mbm1.Initialize(File.DirAssets,"left.jpg")
mbm2.Initialize(File.DirAssets,"right.jpg")
mbmd1.Initialize(mbm1)
mbmd2.Initialize(mbm2)
bv1.DrawableLeft = mbmd1
bv1.DrawableRight = mbmd2
bv1.LeftText = "HELLO"
bv1.RightText = "GOOD BYE"
bv1.TheTextSize = 30
bv1.TheTextcolor = Colors.Magenta
bv1.DelimiterColor = Colors.Green
bv1.DelimiterWidth = 25
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub