# Unwanted Letterboxing On Android

**URL:** <https://forums.unrealengine.com/t/unwanted-letterboxing-on-android/468340>\
**Category:** Community & Industry Discussion\
**Tags:** unreal-engine, Android, fullscreen, question\
**Created:** [July 18, 2020, 3:11pm UTC](https://forums.unrealengine.com/t/unwanted-letterboxing-on-android/468340 "2020-07-18T15:11:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pDunkl](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pdunkl/32/1194600_2.png) [@pDunkl](https://forums.unrealengine.com/u/pDunkl)\
**Post date:** [July 18, 2020, 3:11pm UTC](https://forums.unrealengine.com/t/unwanted-letterboxing-on-android/468340/1 "2020-07-18T15:11:19Z")

</div>

Hello,  
I’ve posted this a while ago on the forums ([Forum Post][1]), without any response, maybe I’ll get some here.

Even clean projects have this issue:  
When building for android and installing via the provided batch files, the game is always letterboxed only in **landscape** mode on android.(Shown in red)  
In the project settings Immersive Mode is activated and increaed the maximum supported device aspect ratio and additionally tried different application and activity tags to set fullscreen and immersive, etc.  
Without success.

[](https://i.imgur.com/6SZU506.png)

But that only occurs, when the _relatively_ new fullscreen gesture mode (since Android 9 or 10) is activated on the test device.  
But every game installed from play store does fill the the whole screen, as expected, only my own projects won’t.  
In the fullscreen settings on the device ( **Settings-\>Display-\>Fullscreen** ), every game has fullscreen enabled since their install, except my project. By activating it manually, the letterbox disappears.

**So how can I enable the fullscreen by default, so that my players won’t experience that inconvience?**

Note: My affected test device is a Xiaomi Mi9 T Pro, having a screen ratio of 2.1667 with MIUI 12 (Android 10).

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/9/4/5942666d14e3611fcd3a2cb5a67c435fe7df638c.jpeg)

---

<div class="post-metadata">

**Author:** ![pDunkl](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pdunkl/32/1194600_2.png) [@pDunkl](https://forums.unrealengine.com/u/pDunkl)\
**Post date:** [July 18, 2020, 8:14pm UTC](https://forums.unrealengine.com/t/unwanted-letterboxing-on-android/468340/2 "2020-07-18T20:14:40Z")

</div>

Finally, found the solution:

add: android:maxAspectRatio=“2.4”  
to the extra trags for “activity” or “application” inside the project settings.

Because apps need to be explicitly flagged to support a screen aspect ratio of 18:9.  
For some reason the setting inside project settings (“Android\>Maximum supportet aspect ratio”) has no effect.

---

<div class="post-metadata">

**Author:** ![SolSkyre](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SolSkyre](https://forums.unrealengine.com/u/SolSkyre)\
**Post date:** [December 13, 2020, 8:34pm UTC](https://forums.unrealengine.com/t/unwanted-letterboxing-on-android/468340/3 "2020-12-13T20:34:00Z")

</div>

On 4.25 there is a setting to force the game to go fullscreen. Search for the entry “Maximum supported aspect ratio” and set it to 2.4.

---

<div class="post-metadata">

**Author:** ![BadassVespen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BadassVespen](https://forums.unrealengine.com/u/BadassVespen)\
**Post date:** [September 21, 2021, 5:33am UTC](https://forums.unrealengine.com/t/unwanted-letterboxing-on-android/468340/4 "2021-09-21T05:33:12Z")

</div>

Thank you!
