为什么我的应用程序不适用于三星Galaxy S5 SM-G900F(5.1英寸 - 432dpi)?

时间:2014-07-08 05:12:17

标签: android

我想只支持智能手机,但我在控制台上看到我的应用程序无法用于xxhdpi的大屏幕:http://www.gsmarena.com/samsung_galaxy_s5-6033.php

我的AndroidManifest包含:

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

<compatible-screens>
    <screen android:screenSize="normal" android:screenDensity="mdpi"/>
    <screen android:screenSize="normal" android:screenDensity="hdpi"/>
    <screen android:screenSize="normal" android:screenDensity="xhdpi"/>

    <screen android:screenSize="large" android:screenDensity="ldpi"/>
    <screen android:screenSize="large" android:screenDensity="mdpi"/>
    <screen android:screenSize="large" android:screenDensity="hdpi"/>
    <screen android:screenSize="large" android:screenDensity="xhdpi"/>
    <screen android:screenSize="large" android:screenDensity="480"/>

</compatible-screens>

,comaptivle-screen更具限制性。

你能指出我应该考虑支持我的三星吗?

1 个答案:

答案 0 :(得分:0)

而不是android:screenDensity =“480”,你可以尝试android:screenDensity =“430”(甚至420)?在三星Galaxy页面中,它的密度约为432。