android - Galaxy Mega 与其他 Phablets 和 Android Manifest

标签 android android-layout

我的应用程序的 list 条目如下 -

<supports-screens>
        android:smallScreens="true"
        android:normalScreens="true"
        android:largeScreens="false"
        android:xlargeScreens="false"
</supports-screens>        

<compatible-screens>

    <!-- small size screens -->
    <screen
            android:screenDensity="ldpi"
            android:screenSize="small" />
    <screen
            android:screenDensity="mdpi"
            android:screenSize="small" />
    <screen
            android:screenDensity="hdpi"
            android:screenSize="small" />
    <screen
            android:screenDensity="xhdpi"
            android:screenSize="small" />
    <screen
            android:screenDensity="480"
            android:screenSize="small" />

    <!-- all normal size screens -->
    <screen
            android:screenDensity="ldpi"
            android:screenSize="normal" />
    <screen
            android:screenDensity="mdpi"
            android:screenSize="normal" />
    <screen
            android:screenDensity="hdpi"
            android:screenSize="normal" />
    <screen
            android:screenDensity="xhdpi"
            android:screenSize="normal" />
    <screen
            android:screenDensity="480"
            android:screenSize="normal" />

</compatible-screens>

当我将应用程序上传到 Google Play 商店时,下面列表中的前两个设备 (Galaxy Mega) 被自动过滤掉了。它们下面的类似设备不是。

三星 Galaxy Mega 6.3 尺寸 - 6.3 分辨率 - 720x1280 DPI - 233

三星 Galaxy Mega 5.8 尺寸 - 5.8 分辨率 - 540x960 DPI - 190

HTC One Max 尺寸 - 5.9 分辨率 - 1080x1920 DPI - 373

三星盖乐世 Note 3 尺寸 - 5.7 分辨率 - 1080x1920 DPI - 386

三星 Galaxy 圆形 尺寸 - 5.7 分辨率 - 1080x1920 DPI - 386

三星 Galaxy Note II 尺寸 - 5.5 分辨率 - 720x1280 DPI - 267

有没有人知道为什么 Developer Console 会区别对待这两款 Galaxy Mega 设备?

最佳答案

我猜想 Samsung Galaxy Mega 6.3 属于 android:screenSize="large"类别,因此它会被您的配置过滤掉。

尝试添加

<screen
            android:screenDensity="hdpi"
            android:screenSize="large" />

如果它不起作用,请尝试将密度设置为 mdpi 或 tvdpi(213)

关于android - Galaxy Mega 与其他 Phablets 和 Android Manifest,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19876575/

相关文章:

android - ProgressBar 未在某些设备中显示

Android MVVM 架构组件 : How do I update a single data entity from a list fragment?

android - 选中后禁用复选框,android

android - IntelliJ IDEA Ultimate Edition(版本2019.3)在Flutter Doctor中显示

android - android studio 中的数据绑定(bind)基础。 ActivitymainBinding 不是 ViewDataBinding 的子类型

android - ListView 项目未正确对齐

android - 如何在android中制作椭圆形按钮?

android - 旋转屏幕时重新创建 AlertDialog 的最佳方法是什么?

android - 自定义首选项类别标题

java - 如何让一个 "Don' t再次显示这个警告信息”对话框弹出