From ce67da79e75e8fc601fb8de95a89f88b9cb9b0f3 Mon Sep 17 00:00:00 2001
From: Dianne Hackborn
sw320dpsw600dpsw720dpSpecifies a minimum "smallest screen width," in "dp" units, at which the resource + should be used. This configuration value represents the base screen size + of the device, regardless of the orientation of the display. It is based + on the smallest width the application will have in which to perform its + UI layout (in dp units) regardless of the orientation of the screen. The + value here takes into account screen decorations so if the device has some + persistent UI elements on the left or right edge of the display it must + present a value here that is smaller than the real screen size, accounting + for these UI elements reducing the application's available space.
+Some values you may use here for common screen sizes:
+Added in API Level 13.
+Also see the {@link android.content.res.Configuration#smallestScreenWidthDp} + configuration field, which holds the current smallest screen width.
+w720dpw1024dpSpecifies a minimum screen width, in "dp" units, at which the resource + should be used. This configuration value will change when the orientation + changes between landscape and portrait to match the current actual width. + When multiple screen width configurations are available, the closest to + the current screen width will be used. The + value here takes into account screen decorations so if the device has some + persistent UI elements on the left or right edge of the display it must + present a value here that is smaller than the real screen size, accounting + for these UI elements reducing the application's available space.
+Added in API Level 13.
+Also see the {@link android.content.res.Configuration#screenWidthDp} + configuration field, which holds the current screen width.
+h720dph1024dpSpecifies a minimum screen height, in "dp" units, at which the resource + should be used. This configuration value will change when the orientation + changes between landscape and portrait to match the current actual height. + When multiple screen height configurations are available, the closest to + the current screen height will be used. The + value here takes into account screen decorations so if the device has some + persistent UI elements on the left or right edge of the display it must + present a value here that is smaller than the real screen size, accounting + for these UI elements reducing the application's available space. Screen + decorations that are not fixed (such as a phone status bar that can be + hidden when full screen) are not accounted for here, nor are + window decorations like title bar, so applications must be prepared to + deal with a somewhat smaller space than they specify. +
Added in API Level 13.
+Also see the {@link android.content.res.Configuration#screenHeightDp} + configuration field, which holds the current screen width.
+w720dpw1024dpSpecifies a minimum screen width, in "dp" units, at which the resource - should be used. This configuration value will change when the orientation - changes between landscape and portrait to match the current actual width. - When multiple screen width configurations are available, the closest to - the current screen width will be used. The value specified here is - approximate; screen decorations like a status bar or system bar may cause - the actual space available in your UI to be slightly smaller. -
Added in API Level 13.
-Also see the {@link android.content.res.Configuration#screenWidthDp} - configuration field, which holds the current screen width.
-h720dph1024dpSpecifies a minimum screen height, in "dp" units, at which the resource - should be used. This configuration value will change when the orientation - changes between landscape and portrait to match the current actual height. - When multiple screen height configurations are available, the closest to - the current screen height will be used. The value specified here is - approximate; screen decorations like a status bar or system bar may cause - the actual space available in your UI to be slightly smaller. -
Added in API Level 13.
-Also see the {@link android.content.res.Configuration#screenHeightDp} - configuration field, which holds the current screen width.
-