I am testing out different resolutions on my dark colour themed game. And I have noticed AndEngine will leave white borders when using RatioResolutionPolicy. How can I change the colour of this border to make my game appear more easy to the eye?
final EngineOptions engineOptions = new EngineOptions(true, ScreenOrientation.LANDSCAPE, new RatioResolutionPolicy(CAMERA_WIDTH,
CAMERA_HEIGHT), mCamera).setNeedsSound(true);
Unfortunately I have the same problem, but only when I updated my Android SDK, so maybe that was the problem anyway, but the solution to your problem and it was for mine, it’s to go to
res/values/styles.xmland edit this line:Change to
Theme.Black.Do the same thing for all
styles.xmlfiles, i.e. inside the foldersres/values-v11andres/values-v14.That should work, now the borders are no longer white.