Hi Erel,
During the event Application_Start I am trying to set up the objects that are in the layout I am loading so that they can appear in the correct position on the screen.
Example: a splash screen.
I placed an Image View on the layout and set the visibility to false. If I use the following code
the only thing that happens is that the visibility is toggled on but all the rest remain unchanged.
If I place the same code on the Application_Active event, instead, it works without a problem.
Is it supposed to work this way?
During the event Application_Start I am trying to set up the objects that are in the layout I am loading so that they can appear in the correct position on the screen.
Example: a splash screen.
I placed an Image View on the layout and set the visibility to false. If I use the following code
B4X:
splashScreen.Top = 0
splashScreen.Left = 0
splashScreen.Width = 100%x
splashScreen.Height = 100%y
splashScreen.Visible = True
the only thing that happens is that the visibility is toggled on but all the rest remain unchanged.
If I place the same code on the Application_Active event, instead, it works without a problem.
Is it supposed to work this way?