N Nitin Joshi Active Member Licensed User Longtime User Mar 28, 2025 #1 My project has 2 pages. I want one page to support full screen mode. How can i apply to the page?
Alexander Stolte Expert Licensed User Longtime User Mar 28, 2025 #2 mikekelvin said: B4X: Sub Activity_Create(FirstTime As Boolean) Activity.FullScreen = True ' Hide status bar Activity.LoadLayout("Main") ' Load your layout End Sub Please note that 1. Code should be implemented on Activity_Create Click to expand... The question was for B4i and B4i has no activities. Upvote 0
mikekelvin said: B4X: Sub Activity_Create(FirstTime As Boolean) Activity.FullScreen = True ' Hide status bar Activity.LoadLayout("Main") ' Load your layout End Sub Please note that 1. Code should be implemented on Activity_Create Click to expand... The question was for B4i and B4i has no activities.
N Nitin Joshi Active Member Licensed User Longtime User Mar 28, 2025 #3 Alexander Stolte said: The question was for B4i and B4i has no activities. Click to expand... Yes, i am looking for a solution to support B4i. Upvote 0
Alexander Stolte said: The question was for B4i and B4i has no activities. Click to expand... Yes, i am looking for a solution to support B4i.
N Nitin Joshi Active Member Licensed User Longtime User Mar 30, 2025 #4 mikekelvin said: you hide the navigation bar and optionally the status bar when displaying that page. Click to expand... What is the command? And in which event of the page? Upvote 0
mikekelvin said: you hide the navigation bar and optionally the status bar when displaying that page. Click to expand... What is the command? And in which event of the page?
Alexander Stolte Expert Licensed User Longtime User Mar 30, 2025 #5 Nitin Joshi said: What is the command? Click to expand... mikekelvin said: NavControl.NavigationBarVisible = False Click to expand... [CODE lang="b4x" title="Main" highlight="6,7"]Private Sub Application_Start (Nav As NavigationController) NavControl = Nav Dim PagesManager As B4XPagesManager PagesManager.Initialize(NavControl) NavControl.NavigationBarVisible = False NavControl.As(NativeObject).GetField("interactivePopGestureRecognizer").RunMethod("setDelegate:",Array(Null)) End Sub[/CODE] Upvote 0
Nitin Joshi said: What is the command? Click to expand... mikekelvin said: NavControl.NavigationBarVisible = False Click to expand... [CODE lang="b4x" title="Main" highlight="6,7"]Private Sub Application_Start (Nav As NavigationController) NavControl = Nav Dim PagesManager As B4XPagesManager PagesManager.Initialize(NavControl) NavControl.NavigationBarVisible = False NavControl.As(NativeObject).GetField("interactivePopGestureRecognizer").RunMethod("setDelegate:",Array(Null)) End Sub[/CODE]
N Nitin Joshi Active Member Licensed User Longtime User Apr 5, 2025 #6 @Alexander Stolte thanks. I will apply this and will get back to you. I may need some time to work on it due to personal issue. Upvote 0
@Alexander Stolte thanks. I will apply this and will get back to you. I may need some time to work on it due to personal issue.