Closed Densing1990 closed 1 year ago
@Densing1990 I can't see any description of the error here, it looks like this is just the raw template..? I think your edits got lost :-(
Hi, I need to display full screen mode like edge-to-edge, already I was using this code "stage. ScaleMode = StageScaleMode. EXACT_FIT;" but display cutout on top corner, I shared image for reference, anyone can help me?
@Densing1990 I can't see any description of the error here, it looks like this is just the raw template..? I think your edits got lost :-(
Sorry for my mistake, I need to display full screen mode like edge-to-edge, already I was using this code "stage. ScaleMode = StageScaleMode. EXACT_FIT;" but display cutout on top corner, I shared image for reference , can you help me?
Those presumably aren't screenshots from something with 'exact fit' since that would result in major distortions when you switch from portrait to landscape ... I think 'no scale' is the only mode where the stage display resizes to match the actual screen. The above looks a bit like 'no border' i.e. it's cropped part of the image rather than having 'show all' which displays the full stage and adds borders where the aspect ratios don't match..
The other things to ensure are that you have the fullScreen setting to 'true' in your app descriptor file, and also - unless you're using a fairly recent AIR SDK - there's an aspect ratio that you may have to increase for Android phones that are more than the default 16:9. -> let me know if you need more details on these ones.. (and, which version of AIR SDK are you using?)
thanks
@ajwfrost Thanks! For your suggestion, but already I was using fullScreen mode only and currently using the AIR SDK VERSION 33.1.1.935. I have shared my descriptor image for your reference. Thanks in advance.
Version 33.1.1.935 will already have the high aspect ratio value in it .. so, the "stage" area should be covering the full screen and you shouldn't see the status bar etc.. you can perhaps try changing your stage colour to something bright/unusual just to try to see what's actually considered as part of this, vs the operating system background. Then it may just be a case of the content having to adapt -> perhaps try setting stage.scaleMode = "noScale";
to see if that improves it?
@ajwfrost Thanks for your support finally I solved this issue using Application ANE.
Before reporting this issue:
Problem Description
Describe your problem in detail. Include the following information:
Steps to Reproduce
Tell us how this issue can be reproduced. Seriously: if you want this issue to be fixed, this is the part you really need to get nailed.
Give us a minimal example:
Known Workarounds
Just in case others run into this – do you happen to know of a workaround? Otherwise, just remove this section altogether.