David Tunnell
David Tunnell

Reputation: 7542

Correctly supporting only certain screen sizes in Google Play with Android Manifest

I want my app to only be supported on small and medium screens. So this is the code in the manifest:

<uses-sdk
    android:maxSdkVersion="16"
    android:minSdkVersion="4"
    android:targetSdkVersion="8" />

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

However in the publish page in the google play market the following is shown: enter image description here

What am I doing wrong?

Upvotes: 1

Views: 126

Answers (1)

CommonsWare
CommonsWare

Reputation: 1007554

<supports-screens> is only a filter going down in screen size. So, you could use it to say you only support large and xlarge, and the Play Store would filter your app out for small and normal devices. But, going up in screen size, <supports-screens> just tells the OS to try on its own to make your app work on larger screens.

In addition to <supports-screens> (which is useful in its own right), for your filtering purposes, you also need to add the <compatible-screens> element, to state which screen size buckets and densities that you support.

Upvotes: 1

Related Questions