Articles → Android → Supports-Screens Tag In Manifest In Android
Supports-Screens Tag In Manifest In Android
Purpose
Syntax
<supports-screen></supports-screen>
Attributes
- android:resizeable
- There are only two permissible values true and false.
- Default value is true.
- Indicates whether the application is resizable for different screens or not.
- This attribute is depreciated now.
- android:smallScreens
- Indicates whether the application supports small screen or not.
- Normal HVGA screens (480 X 320 pixels) comes in the small screen category.
- Default value is true.
- android:normalScreens
- Indicates whether the application supports normal screen or not.
- HVGA medium density screen comes under normal screen category.
- WQVGA low density and WVGA high density are also considered to be normal.
- Default value is true.
- android:largeScreens
- Indicates whether the application supports large screen or not.
- A large screen is defined as a screen that is significantly larger than a "normal" handset screen.
- The default value for this actually varies between some versions, so it's better if you explicitly declare this attribute at all times.
- android:xlargeScreens
- Indicates whether the application supports extra-large screen or not.
- The default value for this actually varies between some versions, so it's better if you explicitly declare this attribute at all times.
- android:anyDensity
- Indicates whether the application includes resources to accommodate any screen density.
- Default value is true.
- You should not set it as false.
- android:requiresSmallestWidthDp
- Specifies the minimum smallestWidth required i.e. the shortest dimension of the screen space (in dp units) that must be available to your application UI.
- In order for a device to be considered compatible with your application, the device's smallestWidth must be equal to or greater than this value.