Hi everyone, I finished my app, but there is an imperfection that annoy me..
Before the app actually start there is a black/gray screen.
The problem is that in the main Activity_Create is veeeery simple, same for Starter Service
it is just:
B4X:
Sub Activity_Create(FirstTime as Boolean)
Activity.Loadlayout("layout")
Sleep(1500)
If (File.ReadString(---,---) == "---") Then
StartActivity(Conf)
Else
StartActivity(Home)
End If
Activity.Finish
End Sub
I drastically reduced the time of startup, removing a webview i forgot there unused, and by compressing ALL the images i use in the app using this website.
I changed the theme, as you suggested.
Now instead of gray, it appears white, for a fraction of time.
If someone knows how to simulate something like "launchscreen" of iOS, this would be ideal.
why do you have sleep() after you load your layout?
does the layout file include the logo? do you want to show first the logo then after 1.5 sec start an activity?
why do you have sleep() after you load your layout?
does the layout file include the logo? do you want to show first the logo then after 1.5 sec start an activity?