SayCheese Member Licensed User Oct 9, 2019 #1 I tried immersive mode in this example. It seems that this behaves somewhat different as I expected on my phone with notch and Android 9. (Android One edition) The screen starts beneath the statusbar and therefore the bottom of the screen, including the redframe isn't visible. I included some screenshots. So are my expectations wrong or does the example behaves different? Without the bars visible With the bars visible
I tried immersive mode in this example. It seems that this behaves somewhat different as I expected on my phone with notch and Android 9. (Android One edition) The screen starts beneath the statusbar and therefore the bottom of the screen, including the redframe isn't visible. I included some screenshots. So are my expectations wrong or does the example behaves different? Without the bars visible With the bars visible
Brandsum Well-Known Member Licensed User Oct 9, 2019 #2 https://www.b4x.com/android/forum/threads/immersive-mode-with-notch-area-support.100636/ Upvote 0
SayCheese Member Licensed User Oct 9, 2019 #3 Thanks for your help. I tried your example on a phone with notch and without notch. On the phone with notch: The red frame was visible now but I noticed that the statusbar area still isn't used. Is this the way it should work? On the phone without notch, a 16:9 ratio screen and hardwarebuttons the example app shows on startup a white bar at the bottom. This bar appears not always strange enough. Upvote 0
Thanks for your help. I tried your example on a phone with notch and without notch. On the phone with notch: The red frame was visible now but I noticed that the statusbar area still isn't used. Is this the way it should work? On the phone without notch, a 16:9 ratio screen and hardwarebuttons the example app shows on startup a white bar at the bottom. This bar appears not always strange enough.
SayCheese Member Licensed User Oct 9, 2019 #4 I saw the 'Add android:windowLayoutInDisplayCutoutMode = shortEdges' remark in the source code too late. I tried this and this works for the statusbar part but then a white bar appears at the bottom. Upvote 0
I saw the 'Add android:windowLayoutInDisplayCutoutMode = shortEdges' remark in the source code too late. I tried this and this works for the statusbar part but then a white bar appears at the bottom.
Brandsum Well-Known Member Licensed User Oct 9, 2019 #5 Show that or post your code. Only textual information is not enough. Upvote 0
SayCheese Member Licensed User Oct 9, 2019 #6 Brandsum said: Show that or post your code. Only textual information is not enough. Click to expand... This is in the example you provided. Here a Picture when using 'shortEdges' This also happens when using the code with 'never' on a notchless device. Last edited: Oct 9, 2019 Upvote 0
Brandsum said: Show that or post your code. Only textual information is not enough. Click to expand... This is in the example you provided. Here a Picture when using 'shortEdges' This also happens when using the code with 'never' on a notchless device.