page.title=<supports-screens> parent.title=The AndroidManifest.xml File parent.link=manifest-intro.html @jd:body
<supports-screens android:resizeable=["true" | "false"] android:smallScreens=["true" | "false"] android:normalScreens=["true" | "false"] android:largeScreens=["true" | "false"] android:xlargeScreens=["true" | "false"] android:anyDensity=["true" | "false"] />
<manifest>
An application "supports" a given screen size if it fills the entire screen and works as expected. By default, the system will resize your application to fill the screen, if you have set either {@code minSdkVersion} or {@code targetSdkVersion} to {@code "4"} or higher. Resizing works well for most applications and you don't have to do any extra work to make your application work on larger screens.
In addition to allowing the system to resize your application, you can add additional support for different screen sizes by providing alternative layout resources for different sizes. For instance, you might want to modify the layout of an activity when it is on a tablet or similar device that has an xlarge screen.
If your application does not support large or xlarge screens, then you should declare that it is not resizeable by setting {@code android:resizeable} to {@code "false"}, so that the system will not resize your application on larger screens.
If your application does not support small screens, then there isn't much the system can do to make the application work well on a smaller screen, so external services (such as Android Market) should not allow users to install the application on such screens.
For more information, see Supporting Multiple Screens.
To provide the best experience on all screen sizes, you should allow resizing and, if your application does not work well on larger screens, follow the guide to Supporting Multiple Screens to enable additional screen support.
This attribute was introduced in API Level 9.
Based on the "standard" device screen density (medium dpi), the Android framework will scale down application assets by a factor of 0.75 (low dpi screens) or scale them up by a factor of 1.5 (high dpi screens), when you don't provide alternative resources for a specifc screen density. The screen density is expressed as dots-per-inch (dpi).