Android manifest config for smartphone only, Sony Xperia Z, HTC One and Samsung Galaxy S4 missing on google play

别说谁变了你拦得住时间么 提交于 2020-01-02 00:57:11

问题


I've an android app on the google play, which is only compatible for smartphone (i'm working on the tablet adaptation).

I've set up this configuration in my AndroidManifest.xml to exclude the tablets: (i exclude x-large)

<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:resizeable="true"
android:anyDensity="true"
/>

It works fine, but now the new smartphones Sony Xperia Z, HTC One and Samsung Galaxy S4 are not compatible. And if i try my app the display is just fine on these devices

I can't find if theses models are considered as "x-large" screen.

Anyone facing this problem?

Thanks

Thibault


回答1:


Adding the following line will enable support for large phones with xxhdpi displays:

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



回答2:


Some smart phones have very large screens as well. Try android:xlargeScreens="true" as well.



来源:https://stackoverflow.com/questions/16326656/android-manifest-config-for-smartphone-only-sony-xperia-z-htc-one-and-samsung

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!