Ads

Update your app to take advantage of the larger aspect ratio on new Android flagship devices

Update your app to take advantage of the larger aspect ratio on new Android flagship devices - Hallo sahabat Download free and best APP for Android phone and tablet, Pada Artikel yang anda baca kali ini dengan judul Update your app to take advantage of the larger aspect ratio on new Android flagship devices, kami telah mempersiapkan artikel ini dengan baik untuk anda baca dan ambil informasi didalamnya. mudah-mudahan isi postingan yang kami tulis ini dapat anda pahami. baiklah, selamat membaca.

Judul : Update your app to take advantage of the larger aspect ratio on new Android flagship devices
link : Update your app to take advantage of the larger aspect ratio on new Android flagship devices

Baca juga


Update your app to take advantage of the larger aspect ratio on new Android flagship devices








Posted by Neto Marin, Developer Advocate, Google Play



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, Xiaomi and LG also launched their new flagship devices, the Mi Mix (launched October 2016) and the LG G6 respectively, with an expanded screen aspect ratio of
18:9.




(Left) An app with a maximum aspect ratio set at 16:9 on an 18.5:9 device 


(Right) An app with a maximum aspect ratio set at or over 18.5:9 on an 18.5:9
device








In order to take full advantage of the larger display formats on these devices,
you should consider increasing your app's maximum supported aspect ratio. To do
so, simply declare an android.max_aspect <meta-data> element in the app's <application> element:






<meta-data android:name="android.max_aspect"
android:value="ratio_float"/>


Where ratio_float is the maximum aspect ratio your app can support, expressed as (longer dimension /
shorter dimension)
in decimal form.




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 <application> element:




<meta-data android:name="android.max_aspect" android:value="2.1" />

Note: if you don't set a value, and android:resizeableActivity
is 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, Mi Mix, 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.



Demikianlah Artikel Update your app to take advantage of the larger aspect ratio on new Android flagship devices

Sekianlah artikel Update your app to take advantage of the larger aspect ratio on new Android flagship devices kali ini, mudah-mudahan bisa memberi manfaat untuk anda semua. baiklah, sampai jumpa di postingan artikel lainnya.

Anda sekarang membaca artikel Update your app to take advantage of the larger aspect ratio on new Android flagship devices dengan alamat link http://apk44droid.blogspot.com/2017/03/update-your-app-to-take-advantage-of.html

0 Response to "Update your app to take advantage of the larger aspect ratio on new Android flagship devices"

Post a Comment

Popular Posts

Translate

Total Pageviews