I've spent many hours trying to solve this problem, but I still can't understand why does this happen. I've seen a lot of examples of using RatioResolutionPolicy and found no mistakes in my code, difference is just that all examples are run in landscape orientation, not portrait. Here's my code:
this.mCamera = new Camera(0, 0, 320, 480);
final EngineOptions engineOptions = new EngineOptions(true,
ScreenOrientation.PORTRAIT, new RatioResolutionPolicy(320, 480), mCamera);
return new Engine(engineOptions);
And here's the result on a 854x480 screen:
Does anyone have any ideas? Thanks.