【问题标题】:How to test the android.max_aspect for Galaxy S8如何测试 Galaxy S8 的 android.max_aspect
【发布时间】:2017-09-01 04:02:26
【问题描述】:

据此 https://android-developers.googleblog.com/2017/03/update-your-app-to-take-advantage-of.html

我需要设置 max_aspect。模拟器仍然没有 S8 设备,所以我在硬件配置文件中设置了 5.8",分辨率为 2960 x 1440。 我的应用程序看起来不错,没有设置maz_aspect,它会在没有黑线的情况下填充屏幕,如谷歌文章所示。

如何测试新的 2.1 口粮?

【问题讨论】:

标签: android android-emulator android-testing


【解决方案1】:

你可以设置你的targetSdkVersion = 24,默认已经可以了。

【讨论】:

    猜你喜欢
    • 2017-09-12
    • 2018-07-14
    • 1970-01-01
    • 1970-01-01
    • 2018-03-23
    • 1970-01-01
    • 2018-01-19
    • 2018-09-06
    • 2018-06-26
    相关资源
    最近更新 更多