#Region Project Attributes
#ApplicationLabel: WindowView
#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 wv1 As WindowView
Private wv2 As WindowView
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")
wv1.DrawableName = "london_wide"
wv1.MaxRoll = 20
wv1.OrientationMode = wv1.Orientation_Relative 'or wv1.OrientationMode = wv1.Orientation_Absolute
wv1.MaxConstantTranslation = 100 ' default value is 150
wv1.TranslateMode = wv1.TranslateMode_Constant
wv2.DrawableName = "singapore_tall"
wv2.MaxPitch = 90
wv2.MaxConstantTranslation = 100 ' default value is 150
wv2.TranslateMode = wv1.TranslateMode_Constant
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub