Adobe-Runtime-Support
Adobe-Runtime-Support copied to clipboard
Application Not Running Full Screen on Android
The application was built using AIR_33.1.1.889. Our application is designed to run fullscreen for any orientation and aspect ratio, I had added the android.max_aspect meta data tag to my application, but is not work. I need your help.
The device specs and screenshots have been attached.

<meta-data android:name="android.max_aspect" android:value="3.4"/>
Hi
It may be worth checking where the max_aspect meta information is being added into the app descriptor... but with build 889 we're adding a high default value anyway, so I suspect this part is actually okay. Have you checked the values for stage.scaleMode and maybe stage.align/stage.displayState? It may also be worth tracing out values for the Screen.mainScreen bounds and visibleBounds properties..
thanks
I also fell down that rabbit hole. You might want to look into immersive mode and hiding the status bar at runtime. I use Distriqt's Application ANE for this.
Looks similar to this:

Which is caused by one of the normal fullscreen display modes on Android. As @dampgnat mentioned, you'll need to investigate immersive mode:
Application.service.display.setDisplayMode(
DisplayMode.IMMERSIVE,
LayoutMode.CUTOUT_SHORT_EDGES
);
https://docs.airnativeextensions.com/docs/application/display/
Thanks for answering @marchbold @dampgnat Immersive mode is useful. I set immersive mode in my ane, It seemed normal