Adobe-Runtime-Support icon indicating copy to clipboard operation
Adobe-Runtime-Support copied to clipboard

The game displays the position offset on the ColorOS12.1 system of oppo mobile phone.

Open XYobj opened this issue 3 years ago • 2 comments

Hello, I have a problem. My project encountered display position offset when running on the coloros12.1 system of oppo mobile phone. Is there any way to solve the problem? Air SDK Version : 30.0 090255eed0d36c64eb03a8a567fdef3(1) The black edge on the left side of the screen causes incomplete display of the game.

XYobj avatar Jun 13 '22 02:06 XYobj

Have you set the max aspect ratio meta data in your manifest additions?

https://docs.airnativeextensions.com/docs/application/display/#aspect-ratios

marchbold avatar Jun 13 '22 06:06 marchbold

这个问题已经解决了. This problem has been solved

在manifest中增加 Add in manifest

<meta-data android:name="android.max_aspect" android:value="2.4" /> <application android:resizeableActivity="true"> </application>

XYobj avatar Jul 14 '22 08:07 XYobj