Articles → Android → Supports-Screens Tag In Manifest In Android

Supports-Screens Tag In Manifest In Android






Purpose





Syntax


<supports-screen></supports-screen>



Attributes


  1. android:resizeable
    1. There are only two permissible values true and false.
    2. Default value is true.
    3. Indicates whether the application is resizable for different screens or not.
    4. This attribute is depreciated now.
  2. android:smallScreens
    1. Indicates whether the application supports small screen or not.
    2. Normal HVGA screens (480 X 320 pixels) comes in the small screen category.
    3. Default value is true.
  3. android:normalScreens
    1. Indicates whether the application supports normal screen or not.
    2. HVGA medium density screen comes under normal screen category.
    3. WQVGA low density and WVGA high density are also considered to be normal.
    4. Default value is true.
  4. android:largeScreens
    1. Indicates whether the application supports large screen or not.
    2. A large screen is defined as a screen that is significantly larger than a "normal" handset screen.
    3. The default value for this actually varies between some versions, so it's better if you explicitly declare this attribute at all times.
  5. android:xlargeScreens
    1. Indicates whether the application supports extra-large screen or not.
    2. The default value for this actually varies between some versions, so it's better if you explicitly declare this attribute at all times.
  6. android:anyDensity
    1. Indicates whether the application includes resources to accommodate any screen density.
    2. Default value is true.
    3. You should not set it as false.
  7. android:requiresSmallestWidthDp
    1. 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.
    2. 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.



Posted By  -  Karan Gupta
 
Posted On  -  Monday, October 28, 2019

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250