To deliver more engaging viewing experiences to their users, many Android OEMs are experimenting with new, super widescreen smartphones. Samsung has just announced a new flagship device, the Samsung Galaxy S8, featuring a new display format with an aspect ratio of 18.5:9. At the Mobile World Congress earlier this year, LG also launched their new flagship device, the LG G6, with an expanded screen aspect ratio of 18:9.
android.max_aspect <meta-data>element in the app's
<meta-data android:name="android.max_aspect" android:value="ratio_float"/> ratio_float
We recommend that you design your app to support aspect ratios of 2.1 or higher. For this, you would add the following to the
<meta-data android:name="android.max_aspect" android:value="2.1" />Note: if you don't set a value, and
android:resizeableActivityis not true, then the maximum aspect ratio defaults to 1.86 (roughly 16:9) and your app will not take advantage of the extra screen space.
As more super widescreen Android devices, like the Samsung Galaxy S8 and the LG G6, become available, you'll have more opportunities to display more content and create more engaging experiences with your app.
For more details about how to support multiple screens on Android, please visit the page Supporting Multiple Screens.