M Mike1970 Well-Known Member Licensed User Longtime User Sep 11, 2023 #1 Hi everyone, i wish to achive this type of result where the content of my app can be displayed on all the screen (so statusbar and navigation bar are transparent). I already took a look at this post but trying it on my phone i noticed that the offset sizing is not dynamic, but is fixed on 24dip and on my screen it result in a higher navigation bar. This is the official documentation but i don't know how to do it in B4A Display content edge-to-edge in views | Views | Android Developers This document explains how to implement an edge-to-edge display in Android applications using traditional views, covering enablement, handling overlaps with system bars through insets, and other display considerations. developer.android.com Thanks in advance
Hi everyone, i wish to achive this type of result where the content of my app can be displayed on all the screen (so statusbar and navigation bar are transparent). I already took a look at this post but trying it on my phone i noticed that the offset sizing is not dynamic, but is fixed on 24dip and on my screen it result in a higher navigation bar. This is the official documentation but i don't know how to do it in B4A Display content edge-to-edge in views | Views | Android Developers This document explains how to implement an edge-to-edge display in Android applications using traditional views, covering enablement, handling overlaps with system bars through insets, and other display considerations. developer.android.com Thanks in advance
jahswant Well-Known Member Licensed User Longtime User Sep 11, 2023 #2 Immersive Mode - hide the navigation bar Immersive mode means full screen mode where the navigation bar is also hidden. The user can bring back the bars by swiping near the edges. The required steps are: 1. Call setSystemUiVisibility with the immersive flags. This is done in Activity_WindowFocusChanged. 2. Get the full display size... www.b4x.com Upvote 0
Immersive Mode - hide the navigation bar Immersive mode means full screen mode where the navigation bar is also hidden. The user can bring back the bars by swiping near the edges. The required steps are: 1. Call setSystemUiVisibility with the immersive flags. This is done in Activity_WindowFocusChanged. 2. Get the full display size... www.b4x.com
M Mike1970 Well-Known Member Licensed User Longtime User Sep 11, 2023 #3 jahswant said: Immersive Mode - hide the navigation bar Immersive mode means full screen mode where the navigation bar is also hidden. The user can bring back the bars by swiping near the edges. The required steps are: 1. Call setSystemUiVisibility with the immersive flags. This is done in Activity_WindowFocusChanged. 2. Get the full display size... www.b4x.com Click to expand... Thanks for the link but this is a different thing, i need edge-to-edge content not immersive mode. The difference is that the StatusBar and the NavigationBar are not hiddent like in immersive mode, but are simply over the content and transparent (or translucent depending on the type of NavigationBar) Upvote 0
jahswant said: Immersive Mode - hide the navigation bar Immersive mode means full screen mode where the navigation bar is also hidden. The user can bring back the bars by swiping near the edges. The required steps are: 1. Call setSystemUiVisibility with the immersive flags. This is done in Activity_WindowFocusChanged. 2. Get the full display size... www.b4x.com Click to expand... Thanks for the link but this is a different thing, i need edge-to-edge content not immersive mode. The difference is that the StatusBar and the NavigationBar are not hiddent like in immersive mode, but are simply over the content and transparent (or translucent depending on the type of NavigationBar)
aeric Expert Licensed User Longtime User Sep 11, 2023 #4 Not sure my Manifest snippet could do the trick? Set the color for "statusbar" and "navigationBar" to transparent. GitHub - pyhoon/todo-b4a: A nice Todo List Android app created using B4A A nice Todo List Android app created using B4A. Contribute to pyhoon/todo-b4a development by creating an account on GitHub. github.com Upvote 0
Not sure my Manifest snippet could do the trick? Set the color for "statusbar" and "navigationBar" to transparent. GitHub - pyhoon/todo-b4a: A nice Todo List Android app created using B4A A nice Todo List Android app created using B4A. Contribute to pyhoon/todo-b4a development by creating an account on GitHub. github.com