问题
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