aamf
November 2, 2022, 2:22pm
5
Bump
Hi, I was wondering if anybody is looking into this? I know getting the actual usable area in Android is for some strange reason particularly difficult, but this problem keeps coming up. A few more examples:
Steps to repro:
Use device with a notch/cutout, or simulate one using Android dev settings
Create new GUI project for Android using Projucer
Set @android:style/Theme.NoTitleBar.Fullscreen as theme
Set main window as kiosk mode component
-> The app is not filling the entire screen. The GUI gets drawn underneath the top cutout area as it should, but there’s a gap in the bottom of the screen. I assume Juce gets the screen dimensions from somewhere where cutout area is not taken into account.
Hi everyone,
I’m having a problem across all apps I build for Android, if the device I’m building for has a speaker cutout.
If the phone has one, like my Google Pixel 3XL, the main window is shifted to the left when I rotate the phone counter clockwise and it leaves a space the size of the speaker cutout to the right of the screen… when I rotate clockwise everything is fine.
I uploaded a video on which you can observe the problem here:
Does anyone know how to remedy this? So far I just lo…
Occurs on physical/real Pixel 6 (Android 13), and emulators like the Pixel 3 XL (API 28) below:
[image]
1 Like