I created a new class that animates the background of any view and makes a starry sky appear with falling meteors.
I also attach the source code
I also attach the source code
B4X:
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Private PanelMain As Panel
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")
Dim M As meteorView
M.Initialize(PanelMain)
End Sub
Attachments
Last edited: