Hi,
I am not sure if you mean you only want the user to see the 'special first time layout' only ever once or only on app startup.
For only ever once you would have to use an indicator which the first time the app is run would indicate it is the very first launch this could be used to load the 'special layout' then change the indicator and save it then next time the app is launched the the 'normal layout' can be launched.
The
B4X:
If FirstTime Then
'load the startup layout
End If
this will be true the very first time the app is run but also everytime the app runs after the OS has 'killed' it or if we force it killed, read the life cycle of an android app on this forum for a fuller explaination.
Edward
Sub Activity_Create(FirstTime As Boolean)
If File.Exists(File.DirInternal, "1.txt") = False Then
File.WriteString(File.DirInternl, "1.txt", "")
'show special layout
Else
'show regular layout
End If
End Sub