I need to use in my application pages with and without Toolbar.
I Show page with ToolBarVisible on
then I Show page with ToolBarVisible off
It works
After I press back button in second page and return to first page,
obviously I don't see Toolbar on the first page.
When I place into second page code
after return to first page
Toolbar overlaps view in the bottom.
If I use
then I see "bad" visual effect, when the pages appear on the screen.
How to resolve this problem ?
I Show page with ToolBarVisible on
B4X:
Public Sub Show
...
Main.NavControl.ShowPage(pg)
Main.NavControl.ToolBarVisible = True
End Sub
B4X:
Public Sub ShowModule
...
Main.NavControl.ShowPage(pg)
Main.NavControl.ToolBarVisible = False
...
End Sub
It works
After I press back button in second page and return to first page,
obviously I don't see Toolbar on the first page.
When I place into second page code
B4X:
Sub pg_Disappear
Main.NavControl.ToolBarVisible = True
End Sub
Toolbar overlaps view in the bottom.
If I use
B4X:
Sub pg_Appear
Main.NavControl.ToolBarVisible = True
End Sub
Sub pg_Appear
Main.NavControl.ToolBarVisible = False
End Sub
then I see "bad" visual effect, when the pages appear on the screen.
How to resolve this problem ?